Merge pull request #974 from andlaus/fix_assert

StandardWellsDense: fix assert for the 2p case
This commit is contained in:
Andreas Lauser
2016-12-12 19:20:43 +01:00
committed by GitHub

View File

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