summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--log-fourier_integrator.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp
index 014999f..f5dbfc7 100644
--- a/log-fourier_integrator.cpp
+++ b/log-fourier_integrator.cpp
@@ -143,15 +143,7 @@ int main(int argc, char* argv[]) {
if (std::abs(Cₜ[0] - 1) < ε) {
break;
} else {
- if (std::abs(Cₜ[0] - 1) < 1e-2) {
- μ *= sqrt(Cₜ[0]);
- } else {
- if (Cₜ[0] > 1) {
- μ *= 1.01;
- } else {
- μ /= 1.01;
- }
- }
+ μ *= sqrt(Cₜ[0]);
}
}