Skip to content

Commit

Permalink
Merge pull request #13333 from tjhei/move_implementation_out_of_class…
Browse files Browse the repository at this point in the history
…_declaration

PreconditionIdentity: move implementation out of declaration
  • Loading branch information
drwells committed Feb 3, 2022
2 parents 7b52b94 + 51af3f6 commit 3b3bb40
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions include/deal.II/lac/precondition.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ class PreconditionIdentity : public Subscriptor
* preconditioner to be handed to a smoother. This does nothing.
*/
void
clear()
{}
clear();

/**
* Return the dimension of the codomain (or range) space. Note that the
Expand Down Expand Up @@ -1894,6 +1893,14 @@ PreconditionIdentity::Tvmult_add(VectorType &dst, const VectorType &src) const
dst += src;
}



inline void
PreconditionIdentity::clear()
{}



inline PreconditionIdentity::size_type
PreconditionIdentity::m() const
{
Expand Down

0 comments on commit 3b3bb40

Please sign in to comment.