Skip to content
Snippets Groups Projects
Commit e00a65a2 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Merge branch 'fix/fieldmatrixmultiplilation' into 'master'

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

See merge request !99
parents 89172dae 13a7ebc9
No related branches found
No related tags found
1 merge request!99Only include the multiplication of a ScaledIdentityMatrix with another...
Pipeline #8969 passed
...@@ -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