]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
mjo/eja/eja_algebra.py: fix unimportant left/right eigenspace terminology.
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 11 Oct 2020 19:22:49 +0000 (15:22 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 11 Oct 2020 19:22:49 +0000 (15:22 -0400)
mjo/eja/eja_algebra.py

index 389efbf77219acff73db032e848e34d8da1670e9..1f48f3c574454a1b59df75061f53b123c7ca986f 100644 (file)
@@ -757,7 +757,7 @@ class FiniteDimensionalEuclideanJordanAlgebra(CombinatorialFreeModule):
         J5 = VectorSpace(self.base_ring(), 0) # eigenvalue one-half
         J1 = trivial                          # eigenvalue one
 
-        for (eigval, eigspace) in c.operator().matrix().left_eigenspaces():
+        for (eigval, eigspace) in c.operator().matrix().right_eigenspaces():
             if eigval == ~(self.base_ring()(2)):
                 J5 = eigspace
             else: