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

backported patch 1509 from the trunk: Fix compile error with DUNE_ISTL_WITH_CHECKING

[[Imported from SVN: r1510]]
parent c639308d
No related branches found
No related tags found
No related merge requests found
......@@ -335,7 +335,7 @@ namespace Dune {
template <class X, class Y>
friend Y operator*(const Matrix<T>& m, const X& vec) {
#ifdef DUNE_ISTL_WITH_CHECKING
if (M()!=vec.size())
if (m.M()!=vec.size())
DUNE_THROW(ISTLError, "Vector size doesn't match the number of matrix columns!");
#endif
Y out(m.N());
......
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