From 07feb6509d06a19594e8c731a423b9bbaf4006c6 Mon Sep 17 00:00:00 2001 From: Kristian Flikka Date: Tue, 28 Jan 2014 21:11:51 +0100 Subject: [PATCH] Updated Namespace of PhaseEnum from opm-parser --- opm/core/props/phaseUsageFromDeck.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opm/core/props/phaseUsageFromDeck.hpp b/opm/core/props/phaseUsageFromDeck.hpp index e69d6ee2..d022dcc4 100644 --- a/opm/core/props/phaseUsageFromDeck.hpp +++ b/opm/core/props/phaseUsageFromDeck.hpp @@ -39,13 +39,13 @@ namespace Opm std::fill(pu.phase_used, pu.phase_used + BlackoilPhases::MaxNumPhases, 0); // Discover phase usage. - if (eclipseState->hasPhase(PhaseEnum::WATER)) { + if (eclipseState->hasPhase(Phase::PhaseEnum::WATER)) { pu.phase_used[BlackoilPhases::Aqua] = 1; } - if (eclipseState->hasPhase(PhaseEnum::OIL)) { + if (eclipseState->hasPhase(Phase::PhaseEnum::OIL)) { pu.phase_used[BlackoilPhases::Liquid] = 1; } - if (eclipseState->hasPhase(PhaseEnum::GAS)) { + if (eclipseState->hasPhase(Phase::PhaseEnum::GAS)) { pu.phase_used[BlackoilPhases::Vapour] = 1; } pu.num_phases = 0;