diff options
-rw-r--r-- | log-fourier_integrator.cpp | 4 |
1 files 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; |