]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: fix doctests for matrix basis functions.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 20 Aug 2019 20:44:18 +0000 (16:44 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 20 Aug 2019 20:44:18 +0000 (16:44 -0400)
I broke these a bit ago when I made a parameter non-optional. Oops.

mjo/eja/eja_algebra.py

index 1f6112ca188124b114da9892d6a8aed283681161..47d247be636c01d59a06a4f48da4d56b63b0f508 100644 (file)
@@ -845,7 +845,8 @@ def _complex_hermitian_basis(n, field):
 
         sage: set_random_seed()
         sage: n = ZZ.random_element(1,5)
-        sage: all( M.is_symmetric() for M in _complex_hermitian_basis(n) )
+        sage: B = _complex_hermitian_basis(n, QQ)
+        sage: all( M.is_symmetric() for M in  B)
         True
 
     """
@@ -886,7 +887,8 @@ def _quaternion_hermitian_basis(n, field):
 
         sage: set_random_seed()
         sage: n = ZZ.random_element(1,5)
-        sage: all( M.is_symmetric() for M in _quaternion_hermitian_basis(n) )
+        sage: B = _quaternion_hermitian_basis(n, QQbar)
+        sage: all( M.is_symmetric() for M in B )
         True
 
     """