From 1f2a429a593bbe93092b689bb968a2c144285aad 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 64f921bd2..1dd0c1edc 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; }