From f65a585236f420d7ed966b8f9e0b7cbfb0857d8c Mon Sep 17 00:00:00 2001 From: James Harrison Date: Thu, 26 Jan 2017 15:02:30 +0000 Subject: [PATCH] ChargedProp: Switch to HDF5 output --- extras/Hadrons/Modules/MScalar/ChargedProp.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/Hadrons/Modules/MScalar/ChargedProp.cc b/extras/Hadrons/Modules/MScalar/ChargedProp.cc index d88fdc45..f2890b2a 100644 --- a/extras/Hadrons/Modules/MScalar/ChargedProp.cc +++ b/extras/Hadrons/Modules/MScalar/ChargedProp.cc @@ -151,7 +151,7 @@ void TChargedProp::execute(void) LOG(Message) << "Saving zero-momentum projection to '" << filename << "'..." << std::endl; - TextWriter writer(filename); + Hdf5Writer writer(filename); std::vector vecBuf; std::vector result; @@ -161,6 +161,7 @@ void TChargedProp::execute(void) { result[t] = TensorRemove(vecBuf[t]); } + write(writer, "charge", q); write(writer, "prop", result); } }