summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--log-fourier_integrator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp
index dc4f48f..21b672c 100644
--- a/log-fourier_integrator.cpp
+++ b/log-fourier_integrator.cpp
@@ -172,7 +172,7 @@ int main(int argc, char* argv[]) {
/* We found an upper bound */
μ₂ = μ;
}
- μ *= sqrt(sqrt(Cₜ[0]));
+ μ *= sqrt(sqrt(std::tanh(Cₜ[0]-1)+1));
} else {
/* Once the bounds are set, we can use bisection */
if (Cₜ[0] > 1) {