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:

Status badges


Obviously, the instructions

pp = Permutation([3, 1, 2])

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

Change History (1)

Changed 12 years ago by giraudo

Note: See TracTickets for help on using tickets.