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:
@ -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);
|
||||
|
Reference in New Issue
Block a user