Commit 3a4b08f6 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Small bugfix.

parent acc3faca
...@@ -125,11 +125,12 @@ namespace AMDiS { ...@@ -125,11 +125,12 @@ namespace AMDiS {
* Diagonal preconditioner. * Diagonal preconditioner.
*/ */
class DiagonalPreconditioner 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 { ...@@ -139,9 +140,10 @@ namespace AMDiS {
* Identity preconditioner. Behaves like no preconditioning. * Identity preconditioner. Behaves like no preconditioning.
*/ */
class IdentityPreconditioner 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: public:
IdentityPreconditioner(const DOFMatrix::base_matrix_type& A) : base(A) {} IdentityPreconditioner(const DOFMatrix::base_matrix_type& A) : base(A) {}
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment