summaryrefslogtreecommitdiff
path: root/log-fourier_integrator.cpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2025-04-29 11:21:08 -0300
committerJaron Kent-Dobias <jaron@kent-dobias.com>2025-04-29 11:21:08 -0300
commit35b877a54b32aede5592096ba4f19f9908bbec4d (patch)
tree013c4330747c53a9f191013c8f10ac62bdfef632 /log-fourier_integrator.cpp
parent01d4dba748cceccb190ad0cb90a152374f75b3ad (diff)
downloadcode-35b877a54b32aede5592096ba4f19f9908bbec4d.tar.gz
code-35b877a54b32aede5592096ba4f19f9908bbec4d.tar.bz2
code-35b877a54b32aede5592096ba4f19f9908bbec4d.zip
Tweak
Diffstat (limited to 'log-fourier_integrator.cpp')
-rw-r--r--log-fourier_integrator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/log-fourier_integrator.cpp b/log-fourier_integrator.cpp
index 5034489..4cd18ee 100644
--- a/log-fourier_integrator.cpp
+++ b/log-fourier_integrator.cpp
@@ -132,7 +132,7 @@ int main(int argc, char* argv[]) {
std::vector<Real> Rₜ₊₁ = fft.inverse(Ȓₜ₊₁);
std::vector<Real> Cₜ₊₁ = fft.inverse(Ĉₜ₊₁);
- μₜ *= pow(tanh(Cₜ₊₁[0]-1)+1, 0.1);
+ μₜ *= pow(tanh(Cₜ₊₁[0]-1)+1, 0.5);
ΔCₜ = 0;
for (unsigned i = 0; i < N; i++) {