]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
eja: one more charpoly fix.
authorMichael Orlitzky <michael@orlitzky.com>
Tue, 8 Dec 2020 19:12:29 +0000 (14:12 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Tue, 8 Dec 2020 19:12:29 +0000 (14:12 -0500)
mjo/eja/eja_algebra.py

index eca279f68156ef1cd8e407f2f8ad25661af1e517..3bc296446da3021ea8913996fa9932580e022934 100644 (file)
@@ -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.