diff options
-rw-r--r-- | fourier_integrator.cpp | 1 |
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; } } } |