Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac #16352 more 'graded' in root_lattice_realizations.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Apr 23, 2015
1 parent 1a1a6cc commit 0beb042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/combinat/root_system/root_lattice_realizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ def positive_real_roots(self):
"""
if self.cartan_type().is_finite():
return tuple(RecursivelyEnumeratedSet(self.simple_roots(),
attrcall('pred'), structure=None,
attrcall('pred'), structure='graded',
enumeration='breadth'))
if not self.cartan_type().is_affine():
raise NotImplementedError("only implemented for finite and affine Cartan types")
Expand Down Expand Up @@ -938,7 +938,7 @@ def parabolic_covers(alpha):

generators = [x for x in self.simple_roots() if x.is_parabolic_root(index_set)]
return RecursivelyEnumeratedSet(generators, parabolic_covers,
structure=None, enumeration='breadth')
structure='graded', enumeration='breadth')

@cached_method
def positive_roots_nonparabolic(self, index_set = None):
Expand Down

0 comments on commit 0beb042

Please sign in to comment.