1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

Hadrons: eigenpack must be referred by solver when used

This commit is contained in:
Antonin Portelli 2018-04-06 13:16:28 +01:00
parent 9ce00f26f9
commit 7dcf5c90e3

View File

@ -107,6 +107,11 @@ std::vector<std::string> TRBPrecCG<FImpl, nBasis>::getReference(void)
{ {
std::vector<std::string> ref = {par().action}; std::vector<std::string> ref = {par().action};
if (!par().eigenPack.empty())
{
ref.push_back(par().eigenPack);
}
return ref; return ref;
} }