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