Skip to content

Commit

Permalink
PreconditionIdentity: move implementation out of declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhei committed Feb 3, 2022
1 parent e8ce7bf commit 3223e19
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions include/deal.II/lac/precondition.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,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 @@ -1896,6 +1895,15 @@ PreconditionIdentity::Tvmult_add(VectorType &dst, const VectorType &src) const
dst += src;
}



template <class VectorType>
inline void
PreconditionIdentity::clear()
{}



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

0 comments on commit 3223e19

Please sign in to comment.