Skip to content

Commit

Permalink
remove wrong pickle register in type D
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Sep 9, 2024
1 parent e4bc3b1 commit b89bc40
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/sage/combinat/root_system/type_D.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# https://www.gnu.org/licenses/
# ****************************************************************************
from . import ambient_space
from sage.misc.persist import register_unpickle_override


class AmbientSpace(ambient_space.AmbientSpace):
Expand Down Expand Up @@ -116,11 +117,6 @@ def fundamental_weight(self, i):
return self.sum(self.monomial(j) for j in range(i))


from sage.misc.persist import register_unpickle_override
register_unpickle_override('sage.combinat.root_system.type_A',
'ambient_space',
AmbientSpace)

from sage.misc.cachefunc import cached_method
from .cartan_type import CartanType_standard_finite, CartanType_simply_laced, CartanType_simple

Expand Down Expand Up @@ -356,6 +352,5 @@ def ascii_art(self, label=None, node=None):


# For unpickling backward compatibility (Sage <= 4.1)
from sage.misc.persist import register_unpickle_override
register_unpickle_override('sage.combinat.root_system.type_D',
'ambient_space', AmbientSpace)

0 comments on commit b89bc40

Please sign in to comment.