Re: [sage-combinat-devel] CoxeterGroup broken?

2011-03-23 Thread Christian Stump
 Hmm. It's a bug which apparently was introduced by #9032 in
 4.6.2. This patch adds an alias N - numerical_approx for each and
 every Sage object:

        sage: 13.N()
        13.0

        sage: x = gap3(13)
        sage: x.N()
        13.0

 In the CoxeterGroup code, N was overriding the field N of the gap3
 record representing the Coxeter group. I worked around this by using
 x.__getattr__(N). This seems to work. Pushed.

thanks for fixing the bug!

Christian

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



[sage-combinat-devel] CoxeterGroup broken?

2011-03-22 Thread Christian Stump
Hi,

is CoxeterGroup broken, or is just something wrong on my computer with
the chevie package?

sage: W = CoxeterGroup(['A',4])
...
AttributeError: 'builtin_function_or_method' object has no attribute
'sage'

Thanks, Christian

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.