From 3a4b08f64090dfd9d1c5cecbeb3d29d4ad35bf51 Mon Sep 17 00:00:00 2001 From: Thomas Witkowski <thomas.witkowski@gmx.de> Date: Mon, 2 Nov 2009 15:03:51 +0000 Subject: [PATCH] Small bugfix. --- AMDiS/src/ITL_Preconditioner.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/AMDiS/src/ITL_Preconditioner.h b/AMDiS/src/ITL_Preconditioner.h index 2acd6a48..1471c3e2 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) {} }; -- GitLab