From f50d52bf5024f319c8757ece8ad95edd0b49270d Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 26 Nov 2020 18:06:19 -0500 Subject: [PATCH] eja: actually do what the previous commit was supposed to do. --- mjo/eja/eja_algebra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.2