diff --git a/lib/qcd/action/fermion/FermionOperatorImpl.h b/lib/qcd/action/fermion/FermionOperatorImpl.h index 8729053a..4126d185 100644 --- a/lib/qcd/action/fermion/FermionOperatorImpl.h +++ b/lib/qcd/action/fermion/FermionOperatorImpl.h @@ -452,10 +452,10 @@ PARALLEL_FOR_LOOP // DhopDir provides U or Uconj depending on coor/flavour. GaugeLinkField link(mat._grid); // use lorentz for flavour as hack. - auto tmp = TraceIndex(outerProduct(Btilde,A)); PARALLEL_FOR_LOOP - for(auto ss=tmp.begin();ss(outerProduct(Btilde[ss],A[ss])); + link[ss]() = ttmp(0,0) + conjugate(ttmp(1,1)) ; } PokeIndex(mat,link,mu); return;