adjust to upstream enum changes

This commit is contained in:
Arne Morten Kvarving
2023-01-18 09:58:57 +01:00
parent 6d97ca97a1
commit 7b2b18045e
4 changed files with 11 additions and 11 deletions

View File

@@ -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));
}
}
}