add missing braces.

This commit is contained in:
Liu Ming 2016-05-16 09:04:54 +08:00
parent da70ab4e84
commit d660dea73b

View File

@ -245,12 +245,12 @@ namespace Opm {
const double newTimeStep = restart_factor_ * dt;
// we need to revise this
substepTimer.provideTimeStepEstimate( newTimeStep );
if( solver_verbose_ )
if( solver_verbose_ ) {
std::string msg;
msg = "Solver convergence failed, restarting solver with new time step ("
+ std::to_string(unit::convert::to( newTimeStep, unit::day )) + " days).\n";
OpmLog::error(msg);
}
// reset states
state = last_state;
well_state = last_well_state;