mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Sequential current fix for spacial indices.
This commit is contained in:
parent
e5c8b7369e
commit
8d442b502d
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user