summaryrefslogtreecommitdiff
path: root/collectStokesData.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'collectStokesData.hpp')
-rw-r--r--collectStokesData.hpp2
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;
}