From: Michael Orlitzky Date: Fri, 2 Aug 2019 20:23:18 +0000 (-0400) Subject: eja: use from_vector() instead of relying on call magic in one spot. X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;ds=sidebyside;h=a3ae7a0a3258c97384068178a9556ca3544c36f2;p=sage.d.git eja: use from_vector() instead of relying on call magic in one spot. --- 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.