BlackoilState: added forgotten rv to equal method.

This commit is contained in:
Robert K 2015-01-29 11:06:51 +01:00
parent 0aebabf41e
commit e4ddabd9ad

View File

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