From 64283c8673aa708945b557818200c8bbc0838943 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Mon, 25 Sep 2023 17:19:39 -0400 Subject: [PATCH] Normal equations becomes linear function for easy base class pass aroudn --- Grid/algorithms/iterative/NormalEquations.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Grid/algorithms/iterative/NormalEquations.h b/Grid/algorithms/iterative/NormalEquations.h index c9c92777..657e19fd 100644 --- a/Grid/algorithms/iterative/NormalEquations.h +++ b/Grid/algorithms/iterative/NormalEquations.h @@ -33,7 +33,7 @@ NAMESPACE_BEGIN(Grid); /////////////////////////////////////////////////////////////////////////////////////////////////////// // Take a matrix and form an NE solver calling a Herm solver /////////////////////////////////////////////////////////////////////////////////////////////////////// -template class NormalEquations { +template class NormalEquations : public LinearFunction{ private: SparseMatrixBase & _Matrix; OperatorFunction & _HermitianSolver; @@ -60,7 +60,7 @@ public: } }; -template class HPDSolver { +template class HPDSolver : public LinearFunction { private: LinearOperatorBase & _Matrix; OperatorFunction & _HermitianSolver; @@ -84,7 +84,7 @@ public: }; -template class MdagMSolver { +template class MdagMSolver : public LinearFunction { private: SparseMatrixBase & _Matrix; OperatorFunction & _HermitianSolver;