#8548: Permutation : a bad error message in hyperoctahedral_double_coset_type
-------------------------------+--------------------------------------------
   Reporter:  giraudo          |       Owner:  sage-combinat
       Type:  defect           |      Status:  new          
   Priority:  trivial          |   Milestone:  sage-4.3.4   
  Component:  combinatorics    |    Keywords:               
     Author:  Samuele Giraudo  |    Upstream:  N/A          
   Reviewer:                   |      Merged:               
Work_issues:                   |  
-------------------------------+--------------------------------------------
 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
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8548>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to