diff --git a/opm/core/vag_format/vag.cpp b/opm/core/vag_format/vag.cpp index 05edee4c..9beedbb5 100644 --- a/opm/core/vag_format/vag.cpp +++ b/opm/core/vag_format/vag.cpp @@ -64,7 +64,7 @@ namespace OPM } //cout << endl; } - if(!(int(pos_struct.value.size())==pos_struct.pos[n])){ + if(int(pos_struct.value.size()) != pos_struct.pos[n]){ cerr << "Failed to read pos structure" << endl; cerr << "pos_struct.value.size()" << pos_struct.value.size() << endl; cerr << "pos_struct.pos[n+1]" << pos_struct.pos[n] << endl;