From 51b8b44e35d4adfbee5411d804934f06c46f3020 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Mon, 11 Aug 2014 12:45:52 +0200 Subject: [PATCH] BUGFIX Wrong placement of parentes --- opm/core/simulator/EquilibrationHelpers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/core/simulator/EquilibrationHelpers.hpp b/opm/core/simulator/EquilibrationHelpers.hpp index 9b0626646..f7c764355 100644 --- a/opm/core/simulator/EquilibrationHelpers.hpp +++ b/opm/core/simulator/EquilibrationHelpers.hpp @@ -871,7 +871,7 @@ namespace Opm const PcEq f(props, phase, cell, 0); const double f0 = f(sminarr[phase]); const double f1 = f(smaxarr[phase]); - return std::abs(f0 - f1 < std::numeric_limits::epsilon()); + return std::abs(f0 - f1) < std::numeric_limits::epsilon(); } } // namespace Equil