From 43b5bfdb82d46ed04f0f0ecaa1d34893453376b1 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 8 Dec 2020 14:12:29 -0500 Subject: [PATCH] eja: one more charpoly fix. --- mjo/eja/eja_algebra.py | 1 + 1 file changed, 1 insertion(+) 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. -- 2.44.2