add missing braces.
This commit is contained in:
parent
da70ab4e84
commit
d660dea73b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user