From bbbc618fd8ec32599ff3a334cb7f3ad4018bbdaf Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Sat, 19 Apr 2025 15:43:37 -0300 Subject: Slow down μ correctly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- log-fourier_integrator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2