From d2d2ae03be1c3361efdf9bad4ddcc87f53c5a8c4 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Sat, 19 Apr 2025 15:50:11 -0300 Subject: More tweaks --- log-fourier_integrator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp index a0f83cb..9120c83 100644 --- a/log-fourier_integrator.cpp +++ b/log-fourier_integrator.cpp @@ -127,12 +127,12 @@ int main(int argc, char* argv[]) { if (ΔC < ΔC₀) { ΔC₀ = ΔC; it = 0; - γ = std::min(1.01 * γ, 1.0); + γ = std::min(1.001 * γ, 1.0); } else { it++; } - if (it > 100) { + if (it > 10) { γ = std::max(0.5 * γ, 1e-6); it = 0; ΔC₀ = ΔC; -- cgit v1.2.3-70-g09d2