Skip to content
Snippets Groups Projects
  1. Feb 06, 2016
  2. Feb 02, 2016
  3. Feb 01, 2016
  4. Jan 31, 2016
  5. Jan 30, 2016
  6. Jan 29, 2016
  7. Jan 28, 2016
  8. Jan 26, 2016
  9. Jan 19, 2016
  10. Dec 17, 2015
  11. Dec 16, 2015
  12. Dec 10, 2015
  13. Dec 09, 2015
    • Elias Pipping's avatar
      Static size checks for FieldMatrix::rightmultiply · 0fa536e5
      Elias Pipping authored
      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.
      0fa536e5
    • Elias Pipping's avatar
      Enable FieldMatrix::rightmultiply(DenseMatrix) · db1f4459
      Elias Pipping authored
      Previously, the following piece of code would compile but then enter a
      loop, typically leading to a segmentation fault
      
        Dune::FieldMatrix<double, 2, 3> A;
        // populate A
      
        Dune::DynamicMatrix<double> B_good(3, 3);
        // populate B_good
        A.rightmultiply(B_good);
      
      This would also happen for the following illegal extension of the above code
      
        Dune::FieldMatrix<double, 3, 2> B_bad;
        // populate B_bad
        A.rightmultiply(B_bad);
      
      The former now works as expected while the latter fails an assertion.
      db1f4459
  14. Dec 07, 2015
Loading