From 1374c943d4cbb493a6a909a54b7c55471b677a32 Mon Sep 17 00:00:00 2001 From: Azusa Yamaguchi Date: Tue, 10 Oct 2017 13:59:50 +0100 Subject: [PATCH] Correct Schur operator called --- tests/solver/Test_staggered_block_cg_prec.cc | 4 ++-- tests/solver/Test_staggered_cg_prec.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/solver/Test_staggered_block_cg_prec.cc b/tests/solver/Test_staggered_block_cg_prec.cc index 1d0117e0..0076e5a0 100644 --- a/tests/solver/Test_staggered_block_cg_prec.cc +++ b/tests/solver/Test_staggered_block_cg_prec.cc @@ -76,7 +76,7 @@ int main (int argc, char ** argv) RealD mass=0.003; ImprovedStaggeredFermion5DR Ds(Umu,Umu,*FGrid,*FrbGrid,*UGrid,*UrbGrid,mass); - SchurDiagMooeeOperator HermOp(Ds); + SchurStaggeredOperator HermOp(Ds); ConjugateGradient CG(1.0e-8,10000); int blockDim = 0; @@ -88,7 +88,7 @@ int main (int argc, char ** argv) std::cout << GridLogMessage << " Calling 4d CG "< HermOp4d(Ds4d); + SchurStaggeredOperator HermOp4d(Ds4d); FermionField src4d(UGrid); random(pRNG,src4d); FermionField src4d_o(UrbGrid); pickCheckerboard(Odd,src4d_o,src4d); FermionField result4d_o(UrbGrid); diff --git a/tests/solver/Test_staggered_cg_prec.cc b/tests/solver/Test_staggered_cg_prec.cc index 97251435..9a458f1f 100644 --- a/tests/solver/Test_staggered_cg_prec.cc +++ b/tests/solver/Test_staggered_cg_prec.cc @@ -79,7 +79,7 @@ int main (int argc, char ** argv) pickCheckerboard(Odd,src_o,src); res_o=zero; - SchurDiagMooeeOperator HermOpEO(Ds); + SchurStaggeredOperator HermOpEO(Ds); ConjugateGradient CG(1.0e-8,10000); CG(HermOpEO,src_o,res_o);