diff options
author | ancarola <raffaele.ancarola@epfl.ch> | 2019-07-01 15:58:29 +0200 |
---|---|---|
committer | ancarola <raffaele.ancarola@epfl.ch> | 2019-07-01 15:58:29 +0200 |
commit | 015612d5903888dc73db7ecbb5983438d4627ecd (patch) | |
tree | da4105b20939324c35b2b9d7af6c564019cd4ca3 /include/mm/mmmatrix.hpp | |
parent | The matrix library is compiling and all tested operations work fine. (diff) | |
download | libmm-015612d5903888dc73db7ecbb5983438d4627ecd.tar.gz libmm-015612d5903888dc73db7ecbb5983438d4627ecd.zip |
Small correction on basic multiplication
Diffstat (limited to 'include/mm/mmmatrix.hpp')
-rw-r--r-- | include/mm/mmmatrix.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mm/mmmatrix.hpp b/include/mm/mmmatrix.hpp index 5eb0171..0b7a40b 100644 --- a/include/mm/mmmatrix.hpp +++ b/include/mm/mmmatrix.hpp @@ -414,7 +414,9 @@ mm::matrix<T, M, N> operator*( assert(a.cols() == b.rows()); mm::matrix<T, M, N> result; - mm::matrix<T, P2, N> bt = b.t(); // weak transposition + const mm::matrix<T, P2, N> bt = b.t(); // weak transposition + + npdebug("Calling *") for (unsigned row = 0; row < M; row++) for (unsigned col = 0; col < N; col++) |