1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-11 03:46:55 +01:00

Hadrons: final fix for multiprec eigenpacks

This commit is contained in:
2018-10-04 18:25:26 +01:00
parent 5a3e83ff7b
commit a1825d1f59
2 changed files with 7 additions and 4 deletions

View File

@ -126,6 +126,11 @@ void TPoint<FImpl>::execute(void)
auto &src = envGet(PropagatorField, getName());
SitePropagator id;
if (position.size() != env().getNd())
{
HADRONS_ERROR(Size, "position has " + std::to_string(position.size())
+ " components (must have " + std::to_string(env().getNd()) + ")");
}
id = 1.;
src = zero;
pokeSite(id, src, position);