Ticket #15279: trac_15279-init_RootSystem-dg.patch

File trac_15279-init_RootSystem-dg.patch, 832 bytes (added by darij, 8 years ago)
  • sage/combinat/root_system/root_system.py

    # HG changeset patch
    # User darij grinberg <darijgrinberg@gmail.com>
    # Date 1381781253 25200
    # Node ID fb024f1eae829e6f1e78e5c161b4a78ff481d530
    # Parent  ccab4d5a2be56f6bf89f78e99400fbd601897876
    trac #15279: init of RootSystem corrected
    
    diff --git a/sage/combinat/root_system/root_system.py b/sage/combinat/root_system/root_system.py
    a b class RootSystem(UniqueRepresentation, S 
    333333        # only affects the pretty printing
    334334        if as_dual_of is None:
    335335            self.dual_side = False
    336             self.dual = RootSystem(self._cartan_type.dual(), as_dual_of=self);
    337336            # still fails for CartanType G2xA1
    338337            try:
    339338                self.dual = RootSystem(self._cartan_type.dual(), as_dual_of=self);