On Sep 17, 2:30 pm, Alex Lara <[email protected]> wrote:
> Hi everyone
>
> In Sage 4.5.2 and Sage 4.5.3, I get the following error using
> partial_fraction_decomposition()
>
> sage: R.<x> = GF(3)[]
> sage: q = (x+1)/(x^3+x+1)

If you try

sage: q.part[tab]

you'll see that this isn't a method for this object.

You are also right that this *was* a method, even as recently as Sage
4.4.4.

Old:
sage: type(q)
<type 'sage.rings.fraction_field_element.FractionFieldElement'>

New:
sage: type(q)
<type 'sage.rings.fraction_field_FpT.FpTElement'>

Sounds like a small API change to me, though probably unintentional.

Looks like ticket #9051, which added this file, was due to Robert
Bradshaw.  I'm sure he or someone else will have additional info for
you.  I would log this as a new Trac ticket, but I'm not sure whether
this is related to http://trac.sagemath.org/sage_trac/ticket/8499

Thanks for the report!

- kcrisman


>
> The same error I get using primes different from 2. But if I use 3^2
> instead of 3, or a power of some prime, I get a right answer.
>
> I did not have the problem using Sage 4.4.1.
>
> Thanks in advance.
>
> Alex

-- 
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-support
URL: http://www.sagemath.org

Reply via email to