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

bugfix in operator*

[[Imported from SVN: r1494]]
parent 2eb93c80
No related branches found
No related tags found
No related merge requests found
......@@ -320,7 +320,7 @@ namespace Dune {
/// Generic matrix multiplication.
friend Matrix<T> operator*(const Matrix<T>& m1, const Matrix<T>& m2) {
Matrix<T> out(m1.N(), m2.M());
out.clear();
out = 0;
for (size_type i=0; i<out.N(); i++ ) {
for ( size_type j=0; j<out.M(); j++ )
......
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