From a446c8ae813ae5e1c33d377dabd85d3d362b1878 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Thu, 3 Apr 2025 17:54:00 -0300 Subject: Removed some more duplicate code. --- fourier_integrator.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'fourier_integrator.cpp') diff --git a/fourier_integrator.cpp b/fourier_integrator.cpp index 86c3b24..2fe7e49 100644 --- a/fourier_integrator.cpp +++ b/fourier_integrator.cpp @@ -103,9 +103,7 @@ int main(int argc, char* argv[]) { Ct = fft.fourier(C); Rt = fft.fourier(R); - auto [RddfCt, dfCt] = RddfCtdfCt(fft, C, R, p, s, λ); - - z = ((Γ₀ * std::conj(Rt[0]) + pow(y, 2) * (RddfCt[0] * Ct[0] + dfCt[0] * std::conj(Rt[0]))) / Ct[0]).real(); + z = estimateZ(fft, C, Ct, R, Rt, p, s, λ, y); } while (y += Δy, y <= yₘₐₓ) { -- cgit v1.2.3-70-g09d2