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:
@@ -150,7 +150,7 @@ activeInjectionConstraint(const SingleWellState& ws,
|
||||
"The THP limit is violated for injector " +
|
||||
well_.name() +
|
||||
". But the rate will increase if switched to THP. " +
|
||||
"The well is therefore kept at " + Well::InjectorCMode2String(currentControl));
|
||||
"The well is therefore kept at " + WellInjectorCMode2String(currentControl));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -274,7 +274,7 @@ activeProductionConstraint(const SingleWellState& ws,
|
||||
"The THP limit is violated for producer " +
|
||||
well_.name() +
|
||||
". But the rate will increase if switched to THP. " +
|
||||
"The well is therefore kept at " + Well::ProducerCMode2String(currentControl));
|
||||
"The well is therefore kept at " + WellProducerCMode2String(currentControl));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user