mistake: count warning as error.

This commit is contained in:
Liu Ming
2016-04-02 11:53:36 +08:00
parent c2bcc9cea8
commit c5925c4dd9

View File

@@ -125,7 +125,7 @@ namespace Opm {
const std::string msg = "-- Warning: For scaled endpoints input, cell" + cellIdx + " SATNUM = " + satnumIdx + ", SOGCR + SGCR + SWL exceed 1.0";
scaled_messages_.push_back(msg);
OpmLog::warning(msg);
counter_.error += 1;
counter_.warning += 1;
}
}
///Following rules come from NEXUS.