mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
add missing braces.
This commit is contained in:
parent
a4dc135045
commit
248ea780b3
@ -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