From 5822b0039837f788ab3213e5722fe179ffb4f9ee Mon Sep 17 00:00:00 2001 From: Daniel Garcia-Sanchez Date: Wed, 14 Aug 2019 03:00:48 +0200 Subject: [PATCH] Fix doxygen documentation --- source/lac/full_matrix.cc | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/source/lac/full_matrix.cc b/source/lac/full_matrix.cc index 2217ce67b4..ce5734f543 100644 --- a/source/lac/full_matrix.cc +++ b/source/lac/full_matrix.cc @@ -21,11 +21,13 @@ DEAL_II_NAMESPACE_OPEN #include "full_matrix.inst" -#ifndef DEAL_II_WITH_COMPLEX_VALUES +#ifndef DOXYGEN + +# ifndef DEAL_II_WITH_COMPLEX_VALUES // instantiate for std::complex because we use it internally in // FESeries. template class FullMatrix>; -#endif +# endif // instantiate for long double manually because we use it in a few places // inside the library @@ -66,19 +68,21 @@ FullMatrix::add(const long double, // arguments is covered by the default copy constructor and copy operator that // is declared separately) -#define TEMPL_OP_EQ(S1, S2) \ - template FullMatrix &FullMatrix::operator=(const FullMatrix &) +# define TEMPL_OP_EQ(S1, S2) \ + template FullMatrix &FullMatrix::operator=(const FullMatrix &) TEMPL_OP_EQ(double, float); TEMPL_OP_EQ(float, double); -#ifdef DEAL_II_WITH_COMPLEX_VALUES +# ifdef DEAL_II_WITH_COMPLEX_VALUES TEMPL_OP_EQ(std::complex, std::complex); TEMPL_OP_EQ(std::complex, std::complex); TEMPL_OP_EQ(std::complex, double); TEMPL_OP_EQ(std::complex, float); -#endif +# endif -#undef TEMPL_OP_EQ +# undef TEMPL_OP_EQ + +#endif DEAL_II_NAMESPACE_CLOSE -- 2.39.5