From 801e9686b8eff405e50d9fb5cbf6f3b5a7c61117 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 20 Aug 2019 16:44:18 -0400 Subject: [PATCH] eja: fix doctests for matrix basis functions. I broke these a bit ago when I made a parameter non-optional. Oops. --- mjo/eja/eja_algebra.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 """ -- 2.44.2