Opened 12 years ago
Last modified 12 years ago
#8548 closed defect
Permutation : a bad error message in hyperoctahedral_double_coset_type — at Initial Version
Reported by: | giraudo | Owned by: | sage-combinat |
---|---|---|---|
Priority: | trivial | Milestone: | sage-4.4 |
Component: | combinatorics | Keywords: | |
Cc: | Merged in: | ||
Authors: | Samuele Giraudo | Reviewers: | |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
Obviously, the instructions
pp = Permutation([3, 1, 2]) pp.hyperoctahedral_double_coset_type()
lead to an error because the permutation has an odd size. However, there is an error in the raised error message :
NameError: global name 'p' is not defined
The string should be
ValueError: pp is a permutation of odd size and has no coset-type
Note: See
TracTickets for help on using
tickets.