From 9c2a8f7c8c46e2c251ff9a4c5e8b97ef903ba0cf Mon Sep 17 00:00:00 2001 From: Vincent Laboure Date: Thu, 1 Oct 2020 11:53:23 -0600 Subject: [PATCH] The default time for an app should not be 0 (or problems with recovering as the start time is not explicitly set by the Transient executioner) #15802 --- framework/src/base/MooseApp.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/base/MooseApp.C b/framework/src/base/MooseApp.C index d66ccb72dcc2..4dc694262630 100644 --- a/framework/src/base/MooseApp.C +++ b/framework/src/base/MooseApp.C @@ -291,7 +291,7 @@ MooseApp::MooseApp(InputParameters parameters) _file_base_set_by_user(false), _output_position_set(false), _start_time_set(false), - _start_time(0.0), + _start_time(-std::numeric_limits::max()), _global_time_offset(0.0), _output_warehouse(*this), _input_parameter_warehouse(new InputParameterWarehouse()),