From: Michael Orlitzky Date: Tue, 20 Aug 2019 20:44:18 +0000 (-0400) Subject: eja: fix doctests for matrix basis functions. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=801e9686b8eff405e50d9fb5cbf6f3b5a7c61117;p=sage.d.git eja: fix doctests for matrix basis functions. I broke these a bit ago when I made a parameter non-optional. Oops. --- diff --git a/mjo/eja/eja_algebra.py b/mjo/eja/eja_algebra.py index 1f6112c..47d247b 100644 --- a/mjo/eja/eja_algebra.py +++ b/mjo/eja/eja_algebra.py @@ -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 """