summaryrefslogtreecommitdiff
path: root/log-fourier_integrator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'log-fourier_integrator.cpp')
-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 de3a54c..4490b71 100644
--- a/log-fourier_integrator.cpp
+++ b/log-fourier_integrator.cpp
@@ -193,7 +193,7 @@ int main(int argc, char* argv[]) {
Ȓₜ[i] += γ * (Ȓₜ₊₁[i] - Ȓₜ[i]);
}
- if (ΔCₜ > ΔCₜ₋₁ * 5 && ΔCₜ < 1e-9) {
+ if (ΔCₜ > ΔCₜ₋₁ * 2 && ΔCₜ < 1e-10) {
γ = std::max(γ / 2, (Real)1e-2);
}