From 546759f775f3022ed42494fb350e4c2228e7ebef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Thu, 15 Dec 2016 11:00:31 +0100 Subject: [PATCH] Bugfix: type for target capillary pressure. --- opm/core/simulator/EquilibrationHelpers.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/core/simulator/EquilibrationHelpers.hpp b/opm/core/simulator/EquilibrationHelpers.hpp index 3c399e8a72..17427b6c42 100644 --- a/opm/core/simulator/EquilibrationHelpers.hpp +++ b/opm/core/simulator/EquilibrationHelpers.hpp @@ -702,7 +702,7 @@ namespace Opm const BlackoilPropertiesInterface& props_; const int phase_; const int cell_; - const int target_pc_; + const double target_pc_; mutable double s_[BlackoilPhases::MaxNumPhases]; mutable double pc_[BlackoilPhases::MaxNumPhases]; }; @@ -775,7 +775,7 @@ namespace Opm const int phase1_; const int phase2_; const int cell_; - const int target_pc_; + const double target_pc_; mutable double s_[BlackoilPhases::MaxNumPhases]; mutable double pc_[BlackoilPhases::MaxNumPhases]; };