Merge pull request #1080 from babrodtk/bugfix_output

Fixed apparent bug in outputting PDPB
This commit is contained in:
Atgeirr Flø Rasmussen 2017-02-27 13:38:36 +01:00 committed by GitHub
commit 650f863785

View File

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