From a3ae7a0a3258c97384068178a9556ca3544c36f2 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 2 Aug 2019 16:23:18 -0400 Subject: [PATCH] eja: use from_vector() instead of relying on call magic in one spot. --- 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 f50e27b..c1d66dd 100644 --- a/mjo/eja/eja_algebra.py +++ b/mjo/eja/eja_algebra.py @@ -206,7 +206,7 @@ class FiniteDimensionalEuclideanJordanAlgebra(CombinatorialFreeModule): # We want the middle equivalent thing in our matrix, but use # the first equivalent thing instead so that we can pass in # standard coordinates. - x = J(W(R.gens())) + x = J.from_vector(W(R.gens())) # Handle the zeroth power separately, because computing # the unit element in J is mathematically suspect. -- 2.44.2