Skip to content
Snippets Groups Projects
Commit 3a4b08f6 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Small bugfix.

parent acc3faca
No related branches found
No related tags found
No related merge requests found
......@@ -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) {}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment