diff --git a/AMDiS/src/ITL_Preconditioner.h b/AMDiS/src/ITL_Preconditioner.h index 2acd6a48f426744cba45f584237f856a9eba6a68..1471c3e264b43dfc4073a790d6cc5180400ae9f2 100644 --- a/AMDiS/src/ITL_Preconditioner.h +++ b/AMDiS/src/ITL_Preconditioner.h @@ -125,11 +125,12 @@ namespace AMDiS { * Diagonal preconditioner. */ class DiagonalPreconditioner - : public ITL_Preconditioner<itl::pc::diagonal<DOFMatrix::base_matrix_type> > + : public ITL_Preconditioner<itl::pc::diagonal<DOFMatrix::base_matrix_type> > { - typedef ITL_Preconditioner<itl::pc::diagonal<DOFMatrix::base_matrix_type> > base; + typedef ITL_Preconditioner<itl::pc::diagonal<DOFMatrix::base_matrix_type> > base; - DiagonalPreconditioner(const DOFMatrix::base_matrix_type& A) : base(A) {} + public: + DiagonalPreconditioner(const DOFMatrix::base_matrix_type& A) : base(A) {} }; /** @@ -139,9 +140,10 @@ namespace AMDiS { * Identity preconditioner. Behaves like no preconditioning. */ class IdentityPreconditioner - : public ITL_Preconditioner<itl::pc::identity<DOFMatrix::base_matrix_type> > + : public ITL_Preconditioner<itl::pc::identity<DOFMatrix::base_matrix_type> > { - typedef ITL_Preconditioner<itl::pc::identity<DOFMatrix::base_matrix_type> > base; + typedef ITL_Preconditioner<itl::pc::identity<DOFMatrix::base_matrix_type> > base; + public: IdentityPreconditioner(const DOFMatrix::base_matrix_type& A) : base(A) {} };