From ad16352f13daef7d08373703ae0f81fc971c5af5 Mon Sep 17 00:00:00 2001 From: Reza Rastak Date: Mon, 16 Sep 2019 11:49:28 -0700 Subject: [PATCH] fixed inconsistent state caused by calling TimestepControl::parse_parameters --- source/algorithms/timestep_control.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/source/algorithms/timestep_control.cc b/source/algorithms/timestep_control.cc index 9d5c865a29..a54a0a1599 100644 --- a/source/algorithms/timestep_control.cc +++ b/source/algorithms/timestep_control.cc @@ -79,6 +79,7 @@ TimestepControl::parse_parameters(ParameterHandler ¶m) strategy_val = uniform; else if (strategy == std::string("doubling")) strategy_val = doubling; + restart(); } -- 2.39.5