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 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) {