From: Michael Orlitzky Date: Mon, 9 Nov 2020 12:45:25 +0000 (-0500) Subject: eja: pass check=False in the fast charpoly_coefficients() method. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=2b95649f57f150fed77ef2e62076eb97f54fa6da;p=sage.d.git eja: pass check=False in the fast charpoly_coefficients() method. --- diff --git a/mjo/eja/eja_algebra.py b/mjo/eja/eja_algebra.py index 7f7b1f9..0da3eef 100644 --- a/mjo/eja/eja_algebra.py +++ b/mjo/eja/eja_algebra.py @@ -1160,10 +1160,13 @@ class MatrixEuclideanJordanAlgebra(FiniteDimensionalEuclideanJordanAlgebra): # Do this over the rationals and convert back at the end. # Only works because we know the entries of the basis are - # integers. + # integers. The argument ``check=False`` is required + # because the trace inner-product method for this + # class is a stub and can't actually be checked. J = MatrixEuclideanJordanAlgebra(QQ, basis, - normalize_basis=False) + normalize_basis=False, + check=False) a = J._charpoly_coefficients() # Unfortunately, changing the basis does change the