diff --git a/lib/qcd/action/fermion/WilsonFermion.cc b/lib/qcd/action/fermion/WilsonFermion.cc index 4d7d340c..33e45a7e 100644 --- a/lib/qcd/action/fermion/WilsonFermion.cc +++ b/lib/qcd/action/fermion/WilsonFermion.cc @@ -332,13 +332,14 @@ void WilsonFermion::DhopInternal(StencilImpl &st, LebesgueOrder &lo, Compressor compressor(dag); st.HaloExchange(in, compressor); + int Opt = WilsonKernelsStatic::Opt; if (dag == DaggerYes) { thread_loop( (int sss = 0; sss < in.Grid()->oSites(); sss++) ,{ - Kernels::DhopSiteDag(st, lo, U, st.CommBuf(), sss, sss, 1, 1, in, out); + Kernels::DhopSiteDag(Opt,st, lo, U, st.CommBuf(), sss, sss, 1, 1, in, out); }); } else { thread_loop( (int sss = 0; sss < in.Grid()->oSites(); sss++) ,{ - Kernels::DhopSite(st, lo, U, st.CommBuf(), sss, sss, 1, 1, in, out); + Kernels::DhopSite(Opt,st, lo, U, st.CommBuf(), sss, sss, 1, 1, in, out); }); } };