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

Commit

Permalink
fixed a bug in simple_root_index
Browse files Browse the repository at this point in the history
  • Loading branch information
stumpc5 committed Apr 10, 2016
1 parent df55cdd commit 1927151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/combinat/root_system/reflection_group_real.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ def simple_root_index(self, i):
sage: [W.simple_root_index(i) for i in W.index_set()]
[0, 1, 2]
"""
return self._index_set[i]
return self._index_set_inverse[i]

class Element(ComplexReflectionGroup.Element):
# Use the generic reduced word from the Coxeter groups category
Expand Down

0 comments on commit 1927151

Please sign in to comment.