diff --git a/lib/qcd/action/fermion/FermionOperatorImpl.h b/lib/qcd/action/fermion/FermionOperatorImpl.h index ed13c18e..20458b6d 100644 --- a/lib/qcd/action/fermion/FermionOperatorImpl.h +++ b/lib/qcd/action/fermion/FermionOperatorImpl.h @@ -233,8 +233,8 @@ namespace QCD { Lattice > coor(GaugeGrid); for (int mu = 0; mu < Nd; mu++) { - auto pha = Params.boundary_phases[mu]; - scalar_type phase( real(pha),imag(pha) ); + auto pha = Params.boundary_phases[mu]; + scalar_type phase( real(pha),imag(pha) ); int Lmu = GaugeGrid->GlobalDimensions()[mu] - 1; @@ -245,8 +245,6 @@ namespace QCD { PokeIndex(Uds, tmp, mu); U = adj(Cshift(U, mu, -1)); - // FIXME -- PAB ; this looked like phase should be conjugated so I changed it. - // Should we really support these being complex? U = where(coor == 0, conjugate(phase) * U, U); PokeIndex(Uds, U, mu + 4); } @@ -265,11 +263,11 @@ namespace QCD { tmp = zero; parallel_for(int sss=0;sssoSites();sss++){ - int sU=sss; - for(int s=0;s(outerProduct(Btilde[sF],Atilde[sF])); // ordering here - } + int sU=sss; + for(int s=0;s(outerProduct(Btilde[sF],Atilde[sF])); // ordering here + } } PokeIndex(mat,tmp,mu);