diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 15:43:37 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 15:43:37 -0300 |
commit | bbbc618fd8ec32599ff3a334cb7f3ad4018bbdaf (patch) | |
tree | acdf0d79d3a1ef5094a593429eba04dff252febd /log-fourier_integrator.cpp | |
parent | b23a598ff2d03863ee677b7a3e98310ca7152e50 (diff) | |
download | code-bbbc618fd8ec32599ff3a334cb7f3ad4018bbdaf.tar.gz code-bbbc618fd8ec32599ff3a334cb7f3ad4018bbdaf.tar.bz2 code-bbbc618fd8ec32599ff3a334cb7f3ad4018bbdaf.zip |
Slow down μ correctly
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 403a015..3a8a464 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] - (1-γ) * μ; + μ = γ * μ * Cₜ[0] + (1-γ) * μ; if (ΔC < ΔC₀) { ΔC₀ = ΔC; |