diff options
Diffstat (limited to 'log-fourier_integrator.cpp')
-rw-r--r-- | log-fourier_integrator.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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 <getopt.h> #include <iostream> +#include <iomanip> 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); |