From e3f311a91b9684924262108a4e0c8e934f5d1d70 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 7 May 2025 23:07:23 -0300 Subject: Revert "Average first two values of C to fix μ" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit b9e5a1f2448aeaca8aa807f3baccbe66f5dc49d2. --- log-fourier_integrator.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'log-fourier_integrator.cpp') diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp index 017def7..55f358a 100644 --- a/log-fourier_integrator.cpp +++ b/log-fourier_integrator.cpp @@ -140,8 +140,7 @@ int main(int argc, char* argv[]) { std::vector Rₜ₊₁ = fft.inverse(Ȓₜ₊₁); std::vector Cₜ₊₁ = fft.inverse(Ĉₜ₊₁); - Real C₀ = (Cₜ₊₁[0] + Cₜ₊₁[1]) / 2; - μₜ *= pow(tanh(C₀-1)+1, x); + μₜ *= pow(tanh(Cₜ₊₁[0]-1)+1, x); ΔCₜ = 0; for (unsigned i = 0; i < N; i++) { -- cgit v1.2.3-70-g09d2