diff --git a/tests/Test_gparity.cc b/tests/Test_gparity.cc index 3a5a5dd8..a301861e 100644 --- a/tests/Test_gparity.cc +++ b/tests/Test_gparity.cc @@ -13,6 +13,9 @@ int main (int argc, char ** argv) Grid_init(&argc,&argv); + std::vector twists(Nd,0); + twists[nu] = 1; + const int Ls=4; const int L =4; std::vector latt_2f(Nd,L); @@ -95,8 +98,10 @@ int main (int argc, char ** argv) SchurDiagMooeeOperator HermOpEO(Ddwf); ConjugateGradient CG(1.0e-8,10000); CG(HermOpEO,src_o_1f,result_o_1f); - - GparityDomainWallFermionR GPDdwf(Umu_2f,*FGrid_2f,*FrbGrid_2f,*UGrid_2f,*UrbGrid_2f,mass,M5); + + GparityDomainWallFermionR::ImplParams params; + params.twists = twists; + GparityDomainWallFermionR GPDdwf(Umu_2f,*FGrid_2f,*FrbGrid_2f,*UGrid_2f,*UrbGrid_2f,mass,M5,params); for(int disp=-1;disp<=1;disp+=2) for(int mu=0;mu<5;mu++)