diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 18:12:44 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 18:12:44 -0300 |
commit | 94600fe71027fd262f0bb8f152dcdb0474ec1897 (patch) | |
tree | c2e4561972efce50ff7acf6adbd51a95fd457563 | |
parent | 84e41519a0d98c450c0d44194ca7c722f9d2d997 (diff) | |
download | code-94600fe71027fd262f0bb8f152dcdb0474ec1897.tar.gz code-94600fe71027fd262f0bb8f152dcdb0474ec1897.tar.bz2 code-94600fe71027fd262f0bb8f152dcdb0474ec1897.zip |
Faster approach to μ
-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 bc53f99..cc42cba 100644 --- a/log-fourier_integrator.cpp +++ b/log-fourier_integrator.cpp @@ -176,7 +176,7 @@ int main(int argc, char* argv[]) { /* We found an upper bound */ μ₂ = μ; } - μ *= sqrt(sqrt(fac*std::tanh(Cₜ[0]-1)+1)); + μ *= fac*std::tanh(Cₜ[0]-1)+1; } else { /* Once the bounds are set, we can use bisection */ if (Cₜ[0] > 1) { |