Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#8548 closed defect (fixed)

Permutation : a bad error message in hyperoctahedral_double_coset_type — at Version 1

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

Description (last modified by giraudo)

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: [3, 1, 2] is a permutation of odd size and has no coset-type

Change History (2)

Changed 12 years ago by giraudo

comment:1 Changed 12 years ago by giraudo

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.