This turns out not to be a bug.

The documentation requires that the inputs be primitive, which in the 
example given, they aren't. The function does work if passed the 
polynomials R(1) and R(1).

However, this bug also exists in Nemo. So thanks for pointing it out. I can 
fix that, at least.

Bill.

On Tuesday, 27 January 2015 16:04:14 UTC+1, Bill Hart wrote:
>
> I can confirm that this happens with the flint interpreter (Nemo) as well. 
> So it is almost certainly a flint bug.
>
> I'll open a ticket for it now and take a quick look to see if it is 
> something simple.
>
> Bill.
>
> On Tuesday, 27 January 2015 02:41:18 UTC+1, vdelecroix wrote:
>>
>> Hello, 
>>
>> As I was working on #17671, it appears that I found a rather strange bug 
>> {{{ 
>> sage: R.<x> = ZZ[] 
>> sage: R(2).xgcd(R(2))   # you will have to wait after that!! 
>> }}} 
>> I opened #17675 for the issue. From the implementation of xgcd it 
>> seems to me that it is related to flint but I might be wrong. 
>>
>> Vincent 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to