Fix of test after merge of pull request #416

This commit is contained in:
Fredrik Gundersen
2015-02-12 11:31:09 +01:00
parent 42711ee259
commit ce5eb28c92
2 changed files with 5 additions and 6 deletions

View File

@@ -498,8 +498,11 @@ namespace Opm {
bool EclipseGrid::equal(const EclipseGrid& other) const {
return (m_pinch.equal( other.m_pinch ) &&
ecl_grid_compare( c_ptr() , other.c_ptr() , true , false , false ));
bool status = (m_pinch.equal( other.m_pinch ) && (ecl_grid_compare( c_ptr() , other.c_ptr() , true , false , false )) && (m_minpvMode == other.getMinpvMode()));
if(m_minpvMode!=MinpvMode::ModeEnum::Inactive){
status = status && (m_minpvValue == other.getMinpvValue());
}
return status;
}