From e4ddabd9ada6298f9327bb1b50e03a7ca3a07302 Mon Sep 17 00:00:00 2001 From: Robert K Date: Thu, 29 Jan 2015 11:06:51 +0100 Subject: [PATCH] BlackoilState: added forgotten rv to equal method. --- opm/core/simulator/BlackoilState.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opm/core/simulator/BlackoilState.cpp b/opm/core/simulator/BlackoilState.cpp index 64f921bd..1dd0c1ed 100644 --- a/opm/core/simulator/BlackoilState.cpp +++ b/opm/core/simulator/BlackoilState.cpp @@ -39,5 +39,8 @@ BlackoilState::equals(const SimulatorState& other, equal = equal && SimulatorState::vectorApproxEqual(this->gasoilratio(), that->gasoilratio(), epsilon); + equal = equal && SimulatorState::vectorApproxEqual(this->rv(), + that->rv(), + epsilon); return equal; }