summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2025-04-02 21:44:29 -0300
committerJaron Kent-Dobias <jaron@kent-dobias.com>2025-04-02 21:44:29 -0300
commit218737ee7a4e763635c40e20ac1bdccc623b8f36 (patch)
tree572ff456707ba619de40d5458b21edc6cc8d6fca
parent47f938638c0a3bf3569c8bd77acf7406f313ad97 (diff)
downloadcode-218737ee7a4e763635c40e20ac1bdccc623b8f36.tar.gz
code-218737ee7a4e763635c40e20ac1bdccc623b8f36.tar.bz2
code-218737ee7a4e763635c40e20ac1bdccc623b8f36.zip
Fixed bug
-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;
}
}
}