diff --git a/lib/qcd/action/fermion/CayleyFermion5D.cc b/lib/qcd/action/fermion/CayleyFermion5D.cc index 4ff28124..90614295 100644 --- a/lib/qcd/action/fermion/CayleyFermion5D.cc +++ b/lib/qcd/action/fermion/CayleyFermion5D.cc @@ -64,6 +64,18 @@ void CayleyFermion5D::Dminus(const FermionField &psi, FermionField &chi) axpby_ssp(chi,Coeff_t(1.0),psi,-cs[s],tmp_f,s,s);// chi = (1-c[s] D_W) psi } } +template +void CayleyFermion5D::DminusDag(const FermionField &psi, FermionField &chi) +{ + int Ls=this->Ls; + + FermionField tmp_f(this->FermionGrid()); + this->DW(psi,tmp_f,DaggerYes); + + for(int s=0;s void CayleyFermion5D::CayleyReport(void) @@ -108,18 +120,6 @@ template void CayleyFermion5D::CayleyZeroCounters(void) } -template -void CayleyFermion5D::DminusDag(const FermionField &psi, FermionField &chi) -{ - int Ls=this->Ls; - - FermionField tmp_f(this->FermionGrid()); - this->DW(psi,tmp_f,DaggerYes); - - for(int s=0;s void CayleyFermion5D::M5D (const FermionField &psi, FermionField &chi) {