]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: re-tuple the matrix basis after Gram-Schmidt.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 8 Dec 2020 16:56:15 +0000 (11:56 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 8 Dec 2020 16:56:15 +0000 (11:56 -0500)
mjo/eja/eja_algebra.py

index 9e808ae1cb1c6ec41ca59136c8a6787fd589e61c..b14c78ab5705309b272896b6a4996eb2b8f11c35 100644 (file)
@@ -133,7 +133,7 @@ class FiniteDimensionalEJA(CombinatorialFreeModule):
             deortho_vector_basis = tuple( V(b.list()) for b in basis )
 
             from mjo.eja.eja_utils import gram_schmidt
-            basis = gram_schmidt(basis, inner_product)
+            basis = tuple(gram_schmidt(basis, inner_product))
 
         # Save the (possibly orthonormalized) matrix basis for
         # later...