summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2025-04-19 16:12:34 -0300
committerJaron Kent-Dobias <jaron@kent-dobias.com>2025-04-19 16:12:34 -0300
commit21d06f80a9584cfc7a95420991d8467e1f24359f (patch)
tree9b6ed5c9f688b2c8c5bf948562b91ea42bdd9dd0
parent83b5ee311dd5e4dda126c7982e6fc6f253f7d2e0 (diff)
downloadcode-21d06f80a9584cfc7a95420991d8467e1f24359f.tar.gz
code-21d06f80a9584cfc7a95420991d8467e1f24359f.tar.bz2
code-21d06f80a9584cfc7a95420991d8467e1f24359f.zip
More daring with μμ
-rw-r--r--log-fourier_integrator.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp
index 014999f..f5dbfc7 100644
--- a/log-fourier_integrator.cpp
+++ b/log-fourier_integrator.cpp
@@ -143,15 +143,7 @@ int main(int argc, char* argv[]) {
if (std::abs(Cₜ[0] - 1) < ε) {
break;
} else {
- if (std::abs(Cₜ[0] - 1) < 1e-2) {
- μ *= sqrt(Cₜ[0]);
- } else {
- if (Cₜ[0] > 1) {
- μ *= 1.01;
- } else {
- μ /= 1.01;
- }
- }
+ μ *= sqrt(Cₜ[0]);
}
}