]> gitweb.michael.orlitzky.com - sage.d.git/blobdiff - mjo/eja/eja_algebra.py
eja: use from_vector() instead of relying on call magic in one spot.
[sage.d.git] / mjo / eja / eja_algebra.py
index f50e27bb925ecd34f9ea8e5692cdb6e877154037..c1d66ddaaea7f01f86b4f84065cfa22eb5be1590 100644 (file)
@@ -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.