From 81050535a567353aeada7fd2f9e683aee5d5248b Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Fri, 6 Apr 2018 13:48:58 +0100 Subject: [PATCH] Hadrons: truncate eigenvalues when loading partial eigenpack --- extras/Hadrons/Modules/MIO/LoadEigenPack.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/Hadrons/Modules/MIO/LoadEigenPack.hpp b/extras/Hadrons/Modules/MIO/LoadEigenPack.hpp index bcc3f22b..5d62b53d 100644 --- a/extras/Hadrons/Modules/MIO/LoadEigenPack.hpp +++ b/extras/Hadrons/Modules/MIO/LoadEigenPack.hpp @@ -112,6 +112,7 @@ void TLoadEigenPack::execute(void) auto &epack = envGetDerived(BasePack, Pack, getName()); epack.read(par().filestem, vm().getTrajectory()); + epack.eval.resize(par().size); } END_MODULE_NAMESPACE