Fixed apparent bug in outputting PDPB

This commit is contained in:
babrodtk 2017-02-27 10:28:31 +01:00
parent 930f0ea9a0
commit ba2973dbbe

View File

@ -728,8 +728,7 @@ namespace Opm
/** /**
* Bubble point and dew point pressures * Bubble point and dew point pressures
*/ */
if (log && vapour_active && if (vapour_active && liquid_active && rstKeywords["PBPD"] > 0) {
liquid_active && rstKeywords["PBPD"] > 0) {
rstKeywords["PBPD"] = 0; rstKeywords["PBPD"] = 0;
output.insert("PBUB", output.insert("PBUB",
Opm::UnitSystem::measure::pressure, Opm::UnitSystem::measure::pressure,