diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2021-12-09 15:19:32 +0100 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2021-12-09 15:19:32 +0100 |
commit | 874770326dc2063b56b0058f2f86ff47eccc6406 (patch) | |
tree | 821d024955ea4cb99616b73cc6711dcdc5734388 | |
parent | 1b9a55a1436b98b6804bc3a140297093e98a30e7 (diff) | |
download | code-874770326dc2063b56b0058f2f86ff47eccc6406.tar.gz code-874770326dc2063b56b0058f2f86ff47eccc6406.tar.bz2 code-874770326dc2063b56b0058f2f86ff47eccc6406.zip |
Need to normalize estimate of length.
-rw-r--r-- | collectStokesData.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectStokesData.hpp b/collectStokesData.hpp index b230ac6..54062f5 100644 --- a/collectStokesData.hpp +++ b/collectStokesData.hpp @@ -108,7 +108,7 @@ void collectStokesData(std::string tag, unsigned N, Generator& r, Real ε, Real ell += c.df(t).norm(); } - file << oldGs.size() << " " << ell << " " << c.totalCost(nTest) / (nTest) << " " << sqrt(imEnergyError / (Real)(nTest)) << " " << sqrt(reConstraintError / (Real)(nTest)) << " " << sqrt(imConstraintError / (Real)(nTest)) << std::endl; + file << oldGs.size() << " " << ell / nTest << " " << c.totalCost(nTest) / (nTest) << " " << sqrt(imEnergyError / (Real)(nTest)) << " " << sqrt(reConstraintError / (Real)(nTest)) << " " << sqrt(imConstraintError / (Real)(nTest)) << std::endl; for (const Vector<Complex>& gi : c.gs) { file << gi.transpose() << std::endl; } |