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

Fix construction of FieldMatrix from DiagonalMatrix

[[Imported from SVN: r1701]]
parent 3ff07dc9
No related branches found
No related tags found
No related merge requests found
......@@ -1060,8 +1060,8 @@ namespace Dune {
template<class K, int n>
void istl_assign_to_fmatrix(FieldMatrix<K,n,n>& fm, const DiagonalMatrix<K,n>& s)
template<class M, class K, int n>
void istl_assign_to_fmatrix(DenseMatrix<M>& fm, const DiagonalMatrix<K,n>& s)
{
fm = K();
for(int i=0; i<n; ++i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment