mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adjust to upstream enum changes
This commit is contained in:
@@ -455,7 +455,7 @@ GasLiftSingleWellGeneric::debugShowProducerControlMode() const
|
||||
{
|
||||
const int well_index = this->well_state_.index(this->well_name_).value();
|
||||
const Well::ProducerCMode& control_mode = this->well_state_.well(well_index).production_cmode;
|
||||
const std::string msg = fmt::format("Current control mode is: {}", Well::ProducerCMode2String(control_mode));
|
||||
const std::string msg = fmt::format("Current control mode is: {}", WellProducerCMode2String(control_mode));
|
||||
displayDebugMessage_(msg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user