Skip to content

#1014 ScaledIdentityMatrix::operators != and == fail due to call to nonexistent method

Metadata

Property Value
Reported by Uli Sack (usack@math.fu-berlin.de)
Reported at Jan 6, 2012 16:22
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Markus Blatt (markus@dr-blatt.de)
Last edited at Jan 6, 2012 19:44
Closed by Markus Blatt (markus@dr-blatt.de)
Closed at Jan 6, 2012 19:44
Closed in version Unknown
Resolution Fixed
Comment Fixed in revision 1519

Description

The comparison operators != and == fail for ScaledIdentityMatrix due to the use of a method ScaledIdentityMatrix::diagonal() which is nonexistent. This can easily be mended by calling scalar() instead.

Please find a patch attached.

Attachments