Merge pull request #1054 from qilicun/fix-output-well-iterations
Drop useage of std::numeric_limits
This commit is contained in:
commit
bc0977ec3d
@ -216,10 +216,10 @@ 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()
|
||||
ss << "non-linear iterations = " << solver.nonlinearIterations()
|
||||
<< ", total linear iterations = " << solver.linearIterations();
|
||||
OpmLog::info(ss.str());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user