Commit 0541567a authored by Dominic Kempf's avatar Dominic Kempf

Merge branch 'feature/remove-obsolete-todo' into 'master'

Remove obsolete TODO

The issue mentioned in the TODO was resolved in 0fa536e5.

See merge request !51
parents 792999e5 f1f55ab8
......@@ -332,9 +332,6 @@ int main() try {
// right multiplication: None-square Matrix argument
try {
// TODO: This leads to a segfault
// Dune::FieldMatrix<double, 2, 3> A = {{1, 2, 3}, {10, 20, 30}};
// Dune::FieldMatrix<double, 3, 2> const B = {{1, 2}, {10, 20}, {100, 200}};
Dune::DynamicMatrix<double> A(2, 3, 5);
Dune::DynamicMatrix<double> const B(3, 2, 5);
A.rightmultiply(B);
......@@ -347,10 +344,6 @@ int main() try {
}
// right multiplication: Incorrect number of rows
try {
// TODO: This leads to a segfault
// Dune::FieldMatrix<double, 2, 2> A = {{1, 2}, {10, 20}};
// Dune::FieldMatrix<double, 3, 3> const B = {
// {1, 2, 3}, {10, 20, 30}, {100, 200, 300}};
Dune::DynamicMatrix<double> A(2, 2, 5);
Dune::DynamicMatrix<double> const B(3, 3, 5);
A.rightmultiply(B);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment