diff options
| author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 17:30:35 -0300 | 
|---|---|---|
| committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 17:30:35 -0300 | 
| commit | c4170a22fad507b2aef0f213b6f1fc0a2c973195 (patch) | |
| tree | 4a4226f4e0068e1780c445a0bd6eeb5462d7e549 | |
| parent | bdc63b30692371bab774c09d9f7e27dcd98bd34e (diff) | |
| download | code-c4170a22fad507b2aef0f213b6f1fc0a2c973195.tar.gz code-c4170a22fad507b2aef0f213b6f1fc0a2c973195.tar.bz2 code-c4170a22fad507b2aef0f213b6f1fc0a2c973195.zip | |
Fixed failsafe
| -rw-r--r-- | log-fourier_integrator.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp index bc99789..c572364 100644 --- a/log-fourier_integrator.cpp +++ b/log-fourier_integrator.cpp @@ -158,7 +158,8 @@ int main(int argc, char* argv[]) {          Ȓₜ = Ȓₜ₋₁;          β -= Δβ;          Δβ /= 2; -        break; +        μ₁ = 0; +        μ₂ = 0;        } else {        if (pow(Cₜ[0] - 1, 2) < ε) {          break; | 
