drop useage of std::numeric_limits

This commit is contained in:
Liu Ming 2016-07-14 10:27:13 +08:00
parent dae94b5041
commit a792c29f00

View File

@ -216,7 +216,7 @@ namespace Opm {
if( timestep_verbose_ )
{
std::ostringstream ss;
if (solver.wellIterations() != std::numeric_limits<int>::min()) {
if (solver.wellIterations() != 0) {
ss << "well iterations = " << solver.wellIterations() << ", ";
}
ss << "non-linear iterations = " << solver.nonlinearIterations()