Skip to content

Commit

Permalink
Fixing recover test for negative start time, thank you @vincentlaboure
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmprince authored and jain651 committed Apr 19, 2021
1 parent f3e5d51 commit 700ea18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/src/executioners/Transient.C
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Transient::Transient(const InputParameters & parameters)
// is (in case anyone else is interested.
if (_app.hasStartTime())
_start_time = _app.getStartTime();
else if (parameters.isParamSetByUser("start_time") && !_app.isRecovering())
else if (parameters.isParamSetByUser("start_time"))
_app.setStartTime(_start_time);

_time = _time_old = _start_time;
Expand Down

0 comments on commit 700ea18

Please sign in to comment.