1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-13 20:57:06 +01:00

fixed issue with HADRONS_ERROR, no idea why this works

This commit is contained in:
ferben
2019-11-15 13:46:47 +00:00
parent 7f06c40107
commit 2d6f4e0c09
2 changed files with 4 additions and 0 deletions

View File

@ -116,7 +116,9 @@ void TDistilVectors<FImpl>::setup(void)
// We expect the perambulator to have been created with these indices
auto &perambulator = envGet(PerambTensor, par().perambulator);
if (!perambulator.ValidateIndexNames())
{
HADRONS_ERROR(Range,"Perambulator index names bad");
}
const DistilParameters &dp{envGet(DistilParameters, par().DistilParams)};
const int Nt{env().getDim(Tdir)};