Skip to content
Snippets Groups Projects
Commit 0d006ff9 authored by Markus Blatt's avatar Markus Blatt
Browse files

Applied Uli Sacks's pach. Thanks a lot.

Fixes flyspray 1014.

[[Imported from SVN: r1519]]
parent 45327550
No related branches found
No related tags found
No related merge requests found
......@@ -239,13 +239,13 @@ namespace Dune {
//! comparison operator
bool operator==(const ScaledIdentityMatrix& other) const
{
return p_==other.diagonal();
return p_==other.scalar();
}
//! incomparison operator
bool operator!=(const ScaledIdentityMatrix& other) const
{
return p_!=other.diagonal();
return p_!=other.scalar();
}
//===== linear maps
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment