mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #974 from andlaus/fix_assert
StandardWellsDense: fix assert for the 2p case
This commit is contained in:
commit
1510db4bf6
@ -264,7 +264,7 @@ enum WellVariablePositions {
|
||||
|
||||
// add trivial equation for 2p cases (Only support water + oil)
|
||||
if (np == 2) {
|
||||
assert((*active_)[ Gas ]);
|
||||
assert(!(*active_)[ Gas ]);
|
||||
invDuneD_[w][w][flowPhaseToEbosCompIdx(Gas)][flowToEbosPvIdx(Gas)] = 1.0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user