Skip to content
Snippets Groups Projects
Commit 13a7ebc9 authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

Only include the multiplication of a ScaledIdentityMatrix with another...

Only include the multiplication of a ScaledIdentityMatrix with another FieldMatrix if dune common is older or equal 2.8
parent 89172dae
No related branches found
No related tags found
1 merge request!99Only include the multiplication of a ScaledIdentityMatrix with another...
...@@ -63,6 +63,7 @@ namespace Dune { ...@@ -63,6 +63,7 @@ namespace Dune {
} }
#endif #endif
#if !DUNE_VERSION_NEWER(DUNE_COMMON, 2, 8)
/** \brief Multiplication of a ScaledIdentityMatrix with another FieldMatrix */ /** \brief Multiplication of a ScaledIdentityMatrix with another FieldMatrix */
template <class T, int N, int otherCols> template <class T, int N, int otherCols>
Dune::FieldMatrix<T,N,otherCols> operator* ( const Dune::ScaledIdentityMatrix<T, N>& diagonalMatrix, Dune::FieldMatrix<T,N,otherCols> operator* ( const Dune::ScaledIdentityMatrix<T, N>& diagonalMatrix,
...@@ -76,6 +77,7 @@ namespace Dune { ...@@ -76,6 +77,7 @@ namespace Dune {
return result; return result;
} }
#endif
/** \brief Return the trace of a matrix */ /** \brief Return the trace of a matrix */
template <class T, int n> template <class T, int n>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment