diff --git a/lib/algorithms/iterative/BlockConjugateGradient.h b/lib/algorithms/iterative/BlockConjugateGradient.h index 72bc1d85..4e012493 100644 --- a/lib/algorithms/iterative/BlockConjugateGradient.h +++ b/lib/algorithms/iterative/BlockConjugateGradient.h @@ -617,9 +617,10 @@ void BlockCGVecsolve(LinearOperatorBase &Linop, const std::vector std::cout< &Linop, const std::vector std::vector AP(Nblock,Fake); //AP.resize(Nblock); std::vector R(Nblock,Fake); + std::vector TMP(Nblock,Fake); //R.resize(Nblock); Eigen::MatrixXcd m_pAp = Eigen::MatrixXcd::Identity(Nblock,Nblock); @@ -657,6 +659,8 @@ void BlockCGVecsolve(LinearOperatorBase &Linop, const std::vector // Initial search dir is guess for(int b=0;b &Linop, const std::vector */ for(int b=0;b &Linop, const std::vector RealD rrsum=0; for(int b=0;b &Linop, const std::vector for(int b=0;b &Linop, const std::vector for(int b=0;b &Linop, const std::vector std::cout << GridLogMessage<< "\t\tblock "< HermOpCk(Dchk); ConjugateGradient CG((stp),10000); s_res = zero; - CG(HermOp,s_src,s_res); +// CG(HermOp,s_src,s_res); std::cout << GridLogMessage << " split residual norm "<