From cea55642d6e2d0e326d7229cf8ebd4dd77a390f3 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Thu, 18 Apr 2024 07:30:40 -0400 Subject: [PATCH] Update Source/driver/Castro_advance_ctu.cpp Co-authored-by: Eric T. Johnson --- Source/driver/Castro_advance_ctu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/driver/Castro_advance_ctu.cpp b/Source/driver/Castro_advance_ctu.cpp index 9bd9bd26d2..1bef856ae1 100644 --- a/Source/driver/Castro_advance_ctu.cpp +++ b/Source/driver/Castro_advance_ctu.cpp @@ -167,7 +167,7 @@ Castro::retry_advance_ctu(Real dt, const advance_status& status) if (status.suggested_dt > 0.0_rt && status.suggested_dt < dt) { getLevel(lev).dt_subcycle = status.suggested_dt; } else { - getLevel(lev).dt_subcycle = std::min(dt, dt_subcycle) * retry_subcycle_factor; + getLevel(lev).dt_subcycle = std::min(dt, getLevel(lev).dt_subcycle) * retry_subcycle_factor; } }