From 86bf0d59519eef1259fa9fb82457148b28c2fa2e Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 10 Mar 2021 14:30:40 -0500 Subject: [PATCH] eja: fix missing test import. --- mjo/eja/eja_utils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mjo/eja/eja_utils.py b/mjo/eja/eja_utils.py index 3942e70..1cf13bc 100644 --- a/mjo/eja/eja_utils.py +++ b/mjo/eja/eja_utils.py @@ -10,14 +10,16 @@ def _charpoly_sage_input(s): SETUP:: + sage: from mjo.eja.eja_algebra import JordanSpinEJA sage: from mjo.eja.eja_utils import _charpoly_sage_input EXAMPLES:: sage: J = JordanSpinEJA(4,QQ) - sage: J._charpoly_coefficients()[0] + sage: a = J._charpoly_coefficients() + sage: a[0] X1^2 - X2^2 - X3^2 - X4^2 - sage: _charpoly_sage_input("X1^2 - X2^2 - X3^2 - X4^2") + sage: _charpoly_sage_input(str(a[0])) 'X[0]**2 - X[1]**2 - X[2]**2 - X[3]**2' """ -- 2.44.2