diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-22 20:41:14 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-22 20:41:14 -0300 |
commit | a89d8a7325405f4110af7752c4dd6c93820028d4 (patch) | |
tree | 26c551a08ab63a3fa97379ea0df498413c66aec8 | |
parent | 989bd95e19342ef48669d4148d81eb84553c4ade (diff) | |
download | code-a89d8a7325405f4110af7752c4dd6c93820028d4.tar.gz code-a89d8a7325405f4110af7752c4dd6c93820028d4.tar.bz2 code-a89d8a7325405f4110af7752c4dd6c93820028d4.zip |
Higher precision also for log version
-rw-r--r-- | log_get_energy.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/log_get_energy.cpp b/log_get_energy.cpp index 3ea2ab8..227b8b9 100644 --- a/log_get_energy.cpp +++ b/log_get_energy.cpp @@ -1,6 +1,8 @@ #include "log-fourier.hpp" #include <getopt.h> +#include <iomanip> #include <iostream> +#include <iomanip> int main(int argc, char* argv[]) { /* Model parameters */ @@ -66,6 +68,8 @@ int main(int argc, char* argv[]) { Real β = β₀; + std::cout << std::setprecision(16); + while (β += Δβ, β <= βₘₐₓ) { if (logFourierLoad(C, R, Ct, Rt, p, s, λ, τ₀, β, log2n, Δτ, k)) { |