mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-15 06:17:05 +01:00
Sequential current fix for spacial indices.
This commit is contained in:
@ -327,7 +327,7 @@ void WilsonKernels<Impl>::SeqConservedCurrentInternal(const PropagatorField &q_i
|
|||||||
GaugeLinkField Umu(U._grid);
|
GaugeLinkField Umu(U._grid);
|
||||||
Umu = PeekIndex<LorentzIndex>(U, mu);
|
Umu = PeekIndex<LorentzIndex>(U, mu);
|
||||||
Lattice<iScalar<vInteger>> t(q_in._grid);
|
Lattice<iScalar<vInteger>> t(q_in._grid);
|
||||||
LatticeCoordinate(t, mu);
|
LatticeCoordinate(t, Tp);
|
||||||
|
|
||||||
tmp = this->CovShiftForward(Umu, mu, q_in)*ph;
|
tmp = this->CovShiftForward(Umu, mu, q_in)*ph;
|
||||||
tmp = where((t >= tmin) and (t <= tmax), tmp, 0.*tmp);
|
tmp = where((t >= tmin) and (t <= tmax), tmp, 0.*tmp);
|
||||||
|
Reference in New Issue
Block a user