From: Michael Orlitzky Date: Tue, 8 Dec 2020 19:12:29 +0000 (-0500) Subject: eja: one more charpoly fix. X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=43b5bfdb82d46ed04f0f0ecaa1d34893453376b1;p=sage.d.git eja: one more charpoly fix. --- diff --git a/mjo/eja/eja_algebra.py b/mjo/eja/eja_algebra.py index eca279f..3bc2964 100644 --- a/mjo/eja/eja_algebra.py +++ b/mjo/eja/eja_algebra.py @@ -1201,6 +1201,7 @@ class RationalBasisEJA(FiniteDimensionalEJA): if not all( all(b_i in QQ for b_i in b.list()) for b in basis ): raise TypeError("basis not rational") + self._rational_algebra = None if field is not QQ: # There's no point in constructing the extra algebra if this # one is already rational.