BlackoilState: added forgotten rv to equal method.

This commit is contained in:
Robert K 2015-01-29 11:06:51 +01:00
parent d2dab23d60
commit 1f2a429a59

View File

@ -39,5 +39,8 @@ BlackoilState::equals(const SimulatorState& other,
equal = equal && SimulatorState::vectorApproxEqual(this->gasoilratio(), equal = equal && SimulatorState::vectorApproxEqual(this->gasoilratio(),
that->gasoilratio(), that->gasoilratio(),
epsilon); epsilon);
equal = equal && SimulatorState::vectorApproxEqual(this->rv(),
that->rv(),
epsilon);
return equal; return equal;
} }