Replace !(a==b) test with a more common a!=b test

This commit is contained in:
Bård Skaflestad 2012-10-24 21:02:46 +02:00
parent ae9e003a90
commit 672ff95ae8

View File

@ -64,7 +64,7 @@ namespace OPM
} }
//cout << endl; //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 << "Failed to read pos structure" << endl;
cerr << "pos_struct.value.size()" << pos_struct.value.size() << endl; cerr << "pos_struct.value.size()" << pos_struct.value.size() << endl;
cerr << "pos_struct.pos[n+1]" << pos_struct.pos[n] << endl; cerr << "pos_struct.pos[n+1]" << pos_struct.pos[n] << endl;