#4981: [with patch, needs work] clean up polynomial_ring.py
------------------------------+---------------------------------------------
Reporter: burcin | Owner: burcin
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.3
Component: basic arithmetic | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Changes (by mabshoff):
* summary: [with patch, with positive review] clean up
polynomial_ring.py => [with patch, needs work]
clean up polynomial_ring.py
Comment:
This patch causes the following trivial to fix doctest failure:
{{{
mabsh...@geom:/scratch/mabshoff/sage-3.3.alpha0$ ./sage -t -long
devel/sage/sage/calculus/calculus.py
sage -t -long "devel/sage/sage/calculus/calculus.py"
**********************************************************************
File
"/scratch/mabshoff/sage-3.3.alpha0/devel/sage/sage/calculus/calculus.py",
line 1912:
sage: type(a)
Expected:
<type
'sage.rings.polynomial.polynomial_element.Polynomial_generic_dense'>
Got:
<class
'sage.rings.polynomial.polynomial_element_generic.Polynomial_generic_dense_field'>
**********************************************************************
}}}
Unfortunately the following test
{{{
Trying:
Integer(2)*P + Integer(2)*Q # indirect doctest###line 208:_sage_
>>> 2*P + 2*Q # indirect doctest
Expecting:
(x^2 - 2*x + 1, y - 3/2*a*x + 1/2*a)
}}}
in sage/schemes/hyperelliptic_curves/jacobian_morphism.py seems to loop
forever - at least I killed it after it used 22 minutes of CPU time on the
new sage.math.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4981#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---