Skip to content
Snippets Groups Projects
Commit 3e15697e authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Fix exception message

For A*B^T it is necessary to have matching columns, not rows.
parent eada6c85
Branches
Tags
No related merge requests found
......@@ -103,7 +103,7 @@ namespace Dune
F& func)
{
if(mat.M()!=matt.M())
DUNE_THROW(ISTLError, "The sizes of the matrices do not match: "<<mat.N()<<"!="<<matt.N());
DUNE_THROW(ISTLError, "The sizes of the matrices do not match: "<<mat.M()<<"!="<<matt.M());
typedef typename BCRSMatrix<FieldMatrix<T,n,m>,A1>::ConstRowIterator row_iterator;
typedef typename BCRSMatrix<FieldMatrix<T,n,m>,A1>::ConstColIterator col_iterator;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment