sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.22k stars 424 forks source link

doctest failure for rings/polynomial/toy_d_basis.py #5027

Closed 5d2aaf09-c963-473a-bf79-1f742a72700f closed 15 years ago

5d2aaf09-c963-473a-bf79-1f742a72700f commented 15 years ago

I get this failure on an intel mac:

sage -t  "devel/sage/sage/rings/polynomial/toy_d_basis.py"
**********************************************************************
File ".../devel/sage/sage/rings/polynomial/toy_d_basis.py", line 91:
    sage: d_basis(I)
Expected:
    [x + 170269749119, y + 2149906854, z + 735710619426, 282687803443]
Got:
    [x + 170269749119, y + 2149906854, z + 170335012540, 282687803443]
********************************************************************** 

Component: algebra

Keywords: groebner, toy, toy_d_basis

Issue created by migration from https://trac.sagemath.org/ticket/5027

85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 15 years ago
comment:1

After chatting with malb we decided to dot out the constant since it is the same GBasis.

Cheers,

Michael

85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 15 years ago

Attachment: trac_5027.patch.gz

jaapspies commented 15 years ago
comment:3

After applying the patch:

sage -t  "devel/sage/sage/rings/polynomial/toy_d_basis.py"  
     [9.5 s]

----------------------------------------------------------------------
All tests passed!
Total time for all tests: 9.5 seconds
[jaap@paix sage-3.3.alpha4]$ 

On fedora 9, 32 bits.

Jaap

85eec1a4-3d04-4b4d-b711-d4db03337c41 commented 15 years ago
comment:4

Merged in Sage 3.3.alpha6.

Cheers,

Michael