diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 16:09:43 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 16:09:43 -0300 |
commit | 83b5ee311dd5e4dda126c7982e6fc6f253f7d2e0 (patch) | |
tree | 5a45e80dda73a9152963a3a8dcadaaa6341f5a30 /log-fourier_integrator.cpp | |
parent | f2ac3dbe40e12102f87e9d2b28cc782c1be43df1 (diff) | |
download | code-83b5ee311dd5e4dda126c7982e6fc6f253f7d2e0.tar.gz code-83b5ee311dd5e4dda126c7982e6fc6f253f7d2e0.tar.bz2 code-83b5ee311dd5e4dda126c7982e6fc6f253f7d2e0.zip |
Tweak
Diffstat (limited to 'log-fourier_integrator.cpp')
-rw-r--r-- | log-fourier_integrator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp index a9c5b40..014999f 100644 --- a/log-fourier_integrator.cpp +++ b/log-fourier_integrator.cpp @@ -143,7 +143,7 @@ int main(int argc, char* argv[]) { if (std::abs(Cₜ[0] - 1) < ε) { break; } else { - if (std::abs(sqrt(Cₜ[0]) - 1.0) < 1e-2) { + if (std::abs(Cₜ[0] - 1) < 1e-2) { μ *= sqrt(Cₜ[0]); } else { if (Cₜ[0] > 1) { |