Skip to content
Snippets Groups Projects
Commit 0fa536e5 authored by Elias Pipping's avatar Elias Pipping
Browse files

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.
parent db1f4459
No related branches found
No related tags found
Loading
Loading
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