diff --git a/src/Math/Matrix.h b/src/Math/Matrix.h index 2f882cc2f..a773af055 100644 --- a/src/Math/Matrix.h +++ b/src/Math/Matrix.h @@ -67,7 +67,15 @@ template class Matrix: public RectangularMatrix inline constexpr Matrix(T first, U... next): RectangularMatrix(first, next...) {} #else diff --git a/src/SizeTraits.h b/src/SizeTraits.h index 66f8c3959..b2001f5ce 100644 --- a/src/SizeTraits.h +++ b/src/SizeTraits.h @@ -147,7 +147,13 @@ SizeTraits class. */ template struct Pow { /** @brief Value of the power */ - enum: std::uint32_t { value = base*Pow::value }; + enum: std::uint32_t { + #ifndef DOXYGEN_GENERATING_OUTPUT + value = base*Pow::value + #else + value + #endif + }; }; #ifndef DOXYGEN_GENERATING_OUTPUT @@ -166,7 +172,13 @@ SizeTraits class. */ template struct Log { /** @brief Value of the logarithm */ - enum: std::uint32_t { value = 1+Log::value }; + enum: std::uint32_t { + #ifndef DOXYGEN_GENERATING_OUTPUT + value = 1+Log::value + #else + value + #endif + }; }; #ifndef DOXYGEN_GENERATING_OUTPUT