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; }