mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Hadrons: truncate eigenvalues when loading partial eigenpack
This commit is contained in:
parent
7dcf5c90e3
commit
81050535a5
@ -112,6 +112,7 @@ void TLoadEigenPack<Pack>::execute(void)
|
|||||||
auto &epack = envGetDerived(BasePack, Pack, getName());
|
auto &epack = envGetDerived(BasePack, Pack, getName());
|
||||||
|
|
||||||
epack.read(par().filestem, vm().getTrajectory());
|
epack.read(par().filestem, vm().getTrajectory());
|
||||||
|
epack.eval.resize(par().size);
|
||||||
}
|
}
|
||||||
|
|
||||||
END_MODULE_NAMESPACE
|
END_MODULE_NAMESPACE
|
||||||
|
Loading…
Reference in New Issue
Block a user