Bugfix: do not keep old control modes.
They will be treated as limits, and cause wrong behaviour.
This commit is contained in:
committed by
Arne Morten Kvarving
parent
828fe797f0
commit
0108437201
@@ -67,6 +67,7 @@ namespace Opm {
|
||||
else
|
||||
cmode = wp::ControlModeFromString( cmodeItem.getTrimmedString( 0 ) );
|
||||
|
||||
m_productionControls = 0;
|
||||
if (effectiveHistoryProductionControl(cmode)) {
|
||||
this->addProductionControl( cmode );
|
||||
this->controlMode = cmode;
|
||||
|
||||
Reference in New Issue
Block a user