From a6ccbbe1080f8c7d2bd193e08ad38b97d0f5af1d Mon Sep 17 00:00:00 2001 From: Lanny91 Date: Fri, 28 Apr 2017 10:43:47 +0100 Subject: [PATCH] Conserved current sequential source now registered properly and fixed module inputs. --- extras/Hadrons/Modules/MSource/SeqConserved.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extras/Hadrons/Modules/MSource/SeqConserved.hpp b/extras/Hadrons/Modules/MSource/SeqConserved.hpp index ccfb68f4..6e5fb197 100644 --- a/extras/Hadrons/Modules/MSource/SeqConserved.hpp +++ b/extras/Hadrons/Modules/MSource/SeqConserved.hpp @@ -104,7 +104,7 @@ TSeqConserved::TSeqConserved(const std::string name) template std::vector TSeqConserved::getInput(void) { - std::vector in; + std::vector in = {par().q, par().action}; return in; } @@ -121,7 +121,8 @@ std::vector TSeqConserved::getOutput(void) template void TSeqConserved::setup(void) { - + auto Ls_ = env().getObjectLs(par().action); + env().template registerLattice(getName(), Ls_); } // execution ///////////////////////////////////////////////////////////////////