drop useage of std::numeric_limits

This commit is contained in:
Liu Ming 2016-07-14 10:27:13 +08:00
parent 02a3ba39b5
commit 62134b4a0f

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()