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

Fix method istl_assign_to_fmatrix(). It should now assign to a DenseMatrix...

Fix method istl_assign_to_fmatrix().  It should now assign to a DenseMatrix instead of a FieldMatrix

[[Imported from SVN: r1331]]
parent 7b2c9d52
No related branches found
No related tags found
No related merge requests found
......@@ -455,8 +455,8 @@ namespace Dune {
};
template<class K, int n>
void istl_assign_to_fmatrix(FieldMatrix<K,n,n>& fm, const ScaledIdentityMatrix<K,n>& s)
template<class M, class K, int n>
void istl_assign_to_fmatrix(DenseMatrix<M>& fm, const ScaledIdentityMatrix<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