Skip to content
Snippets Groups Projects
Commit 3bba5f80 authored by Martin Nolte's avatar Martin Nolte
Browse files

the determinant of a 1x1 matrix is _not_ the absolute of the entry

[[Imported from SVN: r5581]]
parent e23f6ac1
No related branches found
No related tags found
No related merge requests found
......@@ -1204,7 +1204,7 @@ namespace Dune {
//! calculates the determinant of this matrix
K determinant () const
{
return std::abs(a[0]);
return a[ 0 ];
}
//! left multiplication
......
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