BUGFIX Make the wellVariables constant

The wellVariables where left out in makeConstantState()
With this fix norne runs
This commit is contained in:
Tor Harald Sandve committed 2016-08-18 12:23:45 +02:00
1 parent 5cd7468b51
commit 1754181761
1 file changed
+1
+1
View File
@@ -951,6 +951,7 @@ namespace Opm {
ADB& pp = state.canonical_phase_pressures[canphase];
pp = ADB::constant(pp.value());
}
state.wellVariables = ADB::constant(state.wellVariables.value());
}
void setupLegacyState(SolutionState& state,