1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 01:05:38 +01:00

Hadrons: more cleaning

This commit is contained in:
Antonin Portelli 2018-08-08 19:04:44 +01:00
parent ee5c0cc9b6
commit 41d4e37bae

View File

@ -124,7 +124,6 @@ void TA2AVectors<FImpl, Pack>::setup(void)
{
bool hasLowModes = (!par().eigenPack.empty());
std::string sub_string = (hasLowModes) ? "_subtract" : "";
bool return_5d = par().return_5d;
auto &noise = envGet(DilutedNoise<FImpl>, par().noise);
auto &action = envGet(FMat, par().action);
auto &solver = envGet(Solver, par().solver + sub_string);
@ -160,11 +159,8 @@ void TA2AVectors<FImpl, Pack>::execute(void)
envGetTmp(A2A, a2a);
if (hasLowModes)
if (Nl_ > 0)
{
auto &epack = envGet(Pack, par().eigenPack);
Nl_ = epack.evec.size();
LOG(Message) << "Computing all-to-all vectors "
<< " using eigenpack '" << par().eigenPack << "' ("
<< Nl_ << " low modes) and noise '"