Merge pull request #1245 from GitPaean/fixing_polymer_running

fixing the running of polymer cases.
This commit is contained in:
Tor Harald Sandve 2017-07-31 15:28:41 +02:00 committed by GitHub
commit 30c12eb874

View File

@ -238,8 +238,8 @@ namespace Opm {
}
}
// add trivial equation for 2p cases (Only support water + oil)
if (numComp < numEq ) {
// add a trivial equation for the dummy phase for 2p cases (Only support water + oil)
if ( numComp < numWellEq ) {
assert(!active_[ Gas ]);
invDuneD_[w][w][Gas][Gas] = 1.0;
}