X-Git-Url: http://gitweb.michael.orlitzky.com/?p=sage.d.git;a=blobdiff_plain;f=mjo%2Feja%2Feja_algebra.py;h=1cf6fa51dd2626df1e75dcaeab95fc743000130f;hp=18138f4c2a8ca4fad76b79de29d0e64e09a6435f;hb=8ccf1d8af20cea17897aed21426b17872fd0fca3;hpb=3a5389fbc9ae5449e162958c0fda44de90d7e760 diff --git a/mjo/eja/eja_algebra.py b/mjo/eja/eja_algebra.py index 18138f4..1cf6fa5 100644 --- a/mjo/eja/eja_algebra.py +++ b/mjo/eja/eja_algebra.py @@ -1737,7 +1737,7 @@ class MatrixEJA: """ # We take the norm (absolute value) because Octonions() isn't # smart enough yet to coerce its one() into the base field. - return (X*Y).trace().abs() + return (X*Y).trace().real().abs() class RealEmbeddedMatrixEJA(MatrixEJA): @staticmethod