diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 15:45:07 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 15:45:07 -0300 |
commit | b4d2fa643bddda62b0cb871a77c40cac0e0a0554 (patch) | |
tree | c46814ca4ddb637d61cf7d8fec01480952c10c76 /log-fourier_integrator.cpp | |
parent | bbbc618fd8ec32599ff3a334cb7f3ad4018bbdaf (diff) | |
download | code-b4d2fa643bddda62b0cb871a77c40cac0e0a0554.tar.gz code-b4d2fa643bddda62b0cb871a77c40cac0e0a0554.tar.bz2 code-b4d2fa643bddda62b0cb871a77c40cac0e0a0554.zip |
Tweaking step size adjustments
Diffstat (limited to 'log-fourier_integrator.cpp')
-rw-r--r-- | log-fourier_integrator.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp index 3a8a464..a0f83cb 100644 --- a/log-fourier_integrator.cpp +++ b/log-fourier_integrator.cpp @@ -135,6 +135,7 @@ int main(int argc, char* argv[]) { if (it > 100) { γ = std::max(0.5 * γ, 1e-6); it = 0; + ΔC₀ = ΔC; } std::cerr << β << " " << μ << " " << ΔC << " " << γ; |