mistake: count warning as error.

This commit is contained in:
Liu Ming 2016-04-02 11:53:36 +08:00
parent 53485a7ae7
commit 5e6e4b2a38

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.