mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
StandardWellsDense: fix two assertations
the compiler suggested braces around the conditions, and by look of it, it was right: these asserts most likely want express that only the threephase case or the twophase case without gas are handled...
This commit is contained in:
@@ -135,7 +135,7 @@ enum WellVariablePositions {
|
||||
|
||||
// assumes the gas fractions are stored after water fractions
|
||||
// WellVariablePositions needs to be changed for 2p runs
|
||||
assert (np == 3 || np == 2 && !pu.phase_used[Gas] );
|
||||
assert (np == 3 || (np == 2 && !pu.phase_used[Gas]) );
|
||||
#endif
|
||||
|
||||
// set invDuneD
|
||||
|
||||
Reference in New Issue
Block a user