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

Commit

Permalink
added missing flag side = 'right' to some methods used in bruhat_lowe…
Browse files Browse the repository at this point in the history
…r_covers_reflections()
  • Loading branch information
DennisJahn committed Oct 13, 2021
1 parent 1c1e841 commit 41b85a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/categories/coxeter_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -1986,11 +1986,11 @@ def bruhat_lower_covers_reflections(self):
[(s1*s2*s1, s1*s2*s3*s2*s1), (s3*s2*s1, s2), (s3*s1*s2, s1)]
"""
i = self.first_descent()
i = self.first_descent(side='right')
if i is None:
return []
wi = self.apply_simple_reflection(i)
return [(u.apply_simple_reflection(i),r.apply_conjugation_by_simple_reflection(i)) for u,r in wi.bruhat_lower_covers_reflections() if not u.has_descent(i)] + [(wi, self.parent().simple_reflection(i))]
wi = self.apply_simple_reflection(i, side = 'right')
return [(u.apply_simple_reflection(i, side='right'),r.apply_conjugation_by_simple_reflection(i)) for u,r in wi.bruhat_lower_covers_reflections() if not u.has_descent(i, side='right')] + [(wi, self.parent().simple_reflection(i))]

def lower_cover_reflections(self, side='right'):
r"""
Expand Down

0 comments on commit 41b85a0

Please sign in to comment.