diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2020-05-12 12:15:35 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2020-05-12 12:15:35 -0400 |
commit | f4272dd04d5357a18f5ce69938bdb7bb83da7034 (patch) | |
tree | 46c75fb959c2c0a795abdb1d776e90d1dcf1094e | |
parent | b2b68c623f65151d0d7681340e65876460f5ffc8 (diff) | |
download | code-f4272dd04d5357a18f5ce69938bdb7bb83da7034.tar.gz code-f4272dd04d5357a18f5ce69938bdb7bb83da7034.tar.bz2 code-f4272dd04d5357a18f5ce69938bdb7bb83da7034.zip |
Print more often.
-rw-r--r-- | hadamard_pt.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hadamard_pt.hpp b/hadamard_pt.hpp index 7b3f70c..b3c9871 100644 --- a/hadamard_pt.hpp +++ b/hadamard_pt.hpp @@ -154,10 +154,10 @@ public: double relErr = Δf / Ms.size(); // double relErr = err / T1.size() * Ms.size() / (1 / Ms.front().β - 1 / Ms.back().β); + std::cout << "RMS difference from ideal transit flow is " << relErr << " ± " << δΔf / Ms.size() << ".\n"; if (relErr < ε2 || δΔf != δΔf) { return f; } else { - std::cout << "RMS difference from ideal transit flow is " << relErr << " ± " << δΔf / Ms.size() << ", continuing tuning.\n"; if (5 * δΔf > Δf || δΔf != δΔf) { n *= 2; std::cout << "Error in RMS difference too close to difference, increasing tuning to " << n << ".\n"; |