Static size checks for FieldMatrix::rightmultiply
Previously, the following piece of code would compile and only only predictable fail at runtime with assertions enabled. Dune::FieldMatrix<double, 2, 3> A; // populate A Dune::FieldMatrix<double, 3, 2> B_bad; // populate B_bad A.rightmultiply(B_bad); It now fails to compile.
Loading
-
mentioned in merge request !51 (merged)
-
mentioned in commit 0541567a
-
Mentioned in commit 0541567a
Please register or sign in to comment