summaryrefslogtreecommitdiff
path: root/log-fourier_integrator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'log-fourier_integrator.cpp')
-rw-r--r--log-fourier_integrator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp
index 3e05a08..750f79d 100644
--- a/log-fourier_integrator.cpp
+++ b/log-fourier_integrator.cpp
@@ -154,11 +154,13 @@ int main(int argc, char* argv[]) {
if (stepsUp > stepsToRespond) {
γ = std::max(γ/2, 1e-4);
stepsUp = 0;
+ ΔCmin = ΔCₜ;
}
if (stepsDown > stepsToRespond) {
γ = std::min(2*γ, 1.0);
stepsDown = 0;
+ ΔCmin = ΔCₜ;
}
for (unsigned i = 0; i < N; i++) {