WellTestState::addClosedCompletion - WellTestState::close_completion

This commit is contained in:
Joakim Hove 2021-10-07 14:56:20 +02:00
parent ce78326ac1
commit e0ea090960

View File

@ -740,7 +740,7 @@ updateWellTestStateEconomic(const SingleWellState& ws,
{ {
const int worst_offending_completion = ratio_report.worst_offending_completion; const int worst_offending_completion = ratio_report.worst_offending_completion;
well_test_state.addClosedCompletion(name(), worst_offending_completion, simulation_time); well_test_state.close_completion(name(), worst_offending_completion, simulation_time);
if (write_message_to_opmlog) { if (write_message_to_opmlog) {
if (worst_offending_completion < 0) { if (worst_offending_completion < 0) {
const std::string msg = std::string("Connection ") + std::to_string(- worst_offending_completion) const std::string msg = std::string("Connection ") + std::to_string(- worst_offending_completion)