From: Michael Orlitzky Date: Thu, 26 Nov 2020 23:06:19 +0000 (-0500) Subject: eja: actually do what the previous commit was supposed to do. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=f50d52bf5024f319c8757ece8ad95edd0b49270d;p=sage.d.git eja: actually do what the previous commit was supposed to do. --- diff --git a/mjo/eja/eja_algebra.py b/mjo/eja/eja_algebra.py index c8a50f0..adcf755 100644 --- a/mjo/eja/eja_algebra.py +++ b/mjo/eja/eja_algebra.py @@ -139,7 +139,7 @@ class FiniteDimensionalEuclideanJordanAlgebra(CombinatorialFreeModule): for j in range(n) ] # take advantage of symmetry for i in range(n): - for j in range(n): + for j in range(i+1): elt = self.from_vector(mult_table[i][j]) self._multiplication_table[i][j] = elt self._multiplication_table[j][i] = elt