summaryrefslogtreecommitdiff
path: root/fourier_integrator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fourier_integrator.cpp')
-rw-r--r--fourier_integrator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/fourier_integrator.cpp b/fourier_integrator.cpp
index 8588354..fab80c7 100644
--- a/fourier_integrator.cpp
+++ b/fourier_integrator.cpp
@@ -189,6 +189,7 @@ int main(int argc, char* argv[]) {
if (it > maxIterations) {
y -= Δy;
Δy /= 2;
+ it = 0;
}
}
}