]> gitweb.michael.orlitzky.com - sage.d.git/blobdiff - mjo/eja/eja_subalgebra.py
eja: propagate check_axioms to some other "check" variables.
[sage.d.git] / mjo / eja / eja_subalgebra.py
index fb0f26cceaca91c1a2d7328abb26c0003dcebcee..8c0f9092f040e659b5e550cfa90d4f27f4487ad4 100644 (file)
@@ -173,7 +173,8 @@ class FiniteDimensionalEuclideanJordanSubalgebra(FiniteDimensionalEuclideanJorda
         # If our superalgebra is a subalgebra of something else, then
         # these vectors won't have the right coordinates for
         # V.span_of_basis() unless we use V.from_vector() on them.
-        W = V.span_of_basis( V.from_vector(b.to_vector()) for b in basis )
+        W = V.span_of_basis( (V.from_vector(b.to_vector()) for b in basis),
+                             check=check_axioms)
 
         n = len(basis)
         if check_axioms: