From f4272dd04d5357a18f5ce69938bdb7bb83da7034 Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Tue, 12 May 2020 12:15:35 -0400 Subject: Print more often. --- hadamard_pt.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- cgit v1.2.3-70-g09d2