On Tue, Mar 22, 2011 at 10:24:52AM -0700, Christian Stump wrote:
> 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'

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.0000000000000

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

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.

Cheers,
                                Nicolas
--
Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net>
http://Nicolas.Thiery.name/

-- 
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.

Reply via email to