From 614a201abaf8abcbf64cf8ead210102ab350dc9e Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 16 May 2025 09:26:49 -0300 Subject: One more decimal of precision on printed output --- log-fourier_integrator.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'log-fourier_integrator.cpp') diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp index dc7240a..de3a54c 100644 --- a/log-fourier_integrator.cpp +++ b/log-fourier_integrator.cpp @@ -1,6 +1,7 @@ #include "log-fourier.hpp" #include #include +#include int main(int argc, char* argv[]) { /* Model parameters */ @@ -199,7 +200,7 @@ int main(int argc, char* argv[]) { ΔCₜ₋₁ = ΔCₜ; std::cerr << "\x1b[2K" << "\r"; - std::cerr << β << " " << Δβ << " " << μₜ << " " << ΔCₜ << " " << γ; + std::cerr << std::setprecision(7) << β << " " << Δβ << " " << μₜ << " " << ΔCₜ << " " << γ; } if (std::isnan(Cₜ[0])) { @@ -215,7 +216,7 @@ int main(int argc, char* argv[]) { Real E = energy(fft, Cₜ, Rₜ, p, s, λ, β); std::cerr << "\x1b[2K" << "\r"; - std::cerr << β << " " << Δβ << " " << μₜ << " " << Ĉₜ[0].real() << " " << E << std::endl; + std::cerr << std::setprecision(7) << β << " " << Δβ << " " << μₜ << " " << Ĉₜ[0].real() << " " << E << std::endl; logFourierSave(Cₜ, Rₜ, Ĉₜ, Ȓₜ, p, s, λ, τ₀, β, log2n, Δτ, logShift); -- cgit v1.2.3-70-g09d2