diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 15:41:43 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 15:41:43 -0300 |
commit | b23a598ff2d03863ee677b7a3e98310ca7152e50 (patch) | |
tree | 2c6bf3d172737edbc69d56e6b0fd7e78a9c5adee /log-fourier_integrator.cpp | |
parent | 376044eec536709f721f81f2702f90293d8b1e09 (diff) | |
download | code-b23a598ff2d03863ee677b7a3e98310ca7152e50.tar.gz code-b23a598ff2d03863ee677b7a3e98310ca7152e50.tar.bz2 code-b23a598ff2d03863ee677b7a3e98310ca7152e50.zip |
Also slow down μ changes
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 4fff7ce..403a015 100644 --- a/log-fourier_integrator.cpp +++ b/log-fourier_integrator.cpp @@ -122,7 +122,7 @@ int main(int argc, char* argv[]) { Ȓₜ[i] += γ * (Ȓₜ₊₁[i] - Ȓₜ[i]); } - μ *= Cₜ[0]; + μ = γ * μ * Cₜ[0] - (1-γ) * μ; if (ΔC < ΔC₀) { ΔC₀ = ΔC; |