diff options
| author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 17:00:18 -0300 | 
|---|---|---|
| committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-19 17:00:18 -0300 | 
| commit | e22e45c8c20185260c6bc5f304915dd5d321eb5f (patch) | |
| tree | 00ea5519861c7f75d4654c81b05df3e9241bc445 | |
| parent | d78a80777e53339aae3de04caf93aa1307ee69c7 (diff) | |
| download | code-e22e45c8c20185260c6bc5f304915dd5d321eb5f.tar.gz code-e22e45c8c20185260c6bc5f304915dd5d321eb5f.tar.bz2 code-e22e45c8c20185260c6bc5f304915dd5d321eb5f.zip | |
Softer quitting requirements for μ
| -rw-r--r-- | log-fourier_integrator.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp index ebd161b..37a28eb 100644 --- a/log-fourier_integrator.cpp +++ b/log-fourier_integrator.cpp @@ -142,7 +142,7 @@ int main(int argc, char* argv[]) {          std::cerr << β << " " << μ << " " << ΔC << " " << γ;          std::cerr << "\r";        } -      if (std::abs(Cₜ[0] - 1) < ε) { +      if (pow(Cₜ[0] - 1, 2) < ε) {          break;        }        if (μ₁ == 0 || μ₂ == 0) { | 
