diff --git a/Grid/algorithms/LinearOperator.h b/Grid/algorithms/LinearOperator.h index b86863b8..a1be48f4 100644 --- a/Grid/algorithms/LinearOperator.h +++ b/Grid/algorithms/LinearOperator.h @@ -178,7 +178,7 @@ namespace Grid { ////////////////////////////////////////////////////////// template - class SchurOperatorBase : public LinearOperatorBase { + class SchurOperatorBase : public LinearOperatorBase { public: virtual RealD Mpc (const Field &in, Field &out) =0; virtual RealD MpcDag (const Field &in, Field &out) =0; @@ -211,10 +211,9 @@ namespace Grid { } }; template - class SchurDiagMooeeOperator : public SchurOperatorBase { - protected: - Matrix &_Mat; + class SchurDiagMooeeOperator : public SchurOperatorBase { public: + Matrix &_Mat; SchurDiagMooeeOperator (Matrix &Mat): _Mat(Mat){}; virtual RealD Mpc (const Field &in, Field &out) { Field tmp(in._grid);