diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-05-16 10:09:37 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-05-16 10:09:37 -0300 |
commit | a019e4827076b85b89a0a0f58da2bfae4927820c (patch) | |
tree | 15c785c768a7092957144cd0d0bb151d4f8183b9 /log-fourier_integrator.cpp | |
parent | 614a201abaf8abcbf64cf8ead210102ab350dc9e (diff) | |
download | code-a019e4827076b85b89a0a0f58da2bfae4927820c.tar.gz code-a019e4827076b85b89a0a0f58da2bfae4927820c.tar.bz2 code-a019e4827076b85b89a0a0f58da2bfae4927820c.zip |
Diffstat (limited to 'log-fourier_integrator.cpp')
-rw-r--r-- | log-fourier_integrator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp index de3a54c..4490b71 100644 --- a/log-fourier_integrator.cpp +++ b/log-fourier_integrator.cpp @@ -193,7 +193,7 @@ int main(int argc, char* argv[]) { Ȓₜ[i] += γ * (Ȓₜ₊₁[i] - Ȓₜ[i]); } - if (ΔCₜ > ΔCₜ₋₁ * 5 && ΔCₜ < 1e-9) { + if (ΔCₜ > ΔCₜ₋₁ * 2 && ΔCₜ < 1e-10) { γ = std::max(γ / 2, (Real)1e-2); } |