#4443: [with patch, with positive review, needs rebase] Massive prime_range
speedup, arith* files cleanup
------------------------------+---------------------------------------------
Reporter: craigcitro | Owner: craigcitro
Type: defect | Status: assigned
Priority: major | Milestone: sage-3.2
Component: basic arithmetic | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Changes (by mabshoff):
* summary: [with patch, with positive review] Massive prime_range
speedup, arith* files cleanup => [with patch,
with positive review, needs rebase] Massive
prime_range speedup, arith* files cleanup
Comment:
Unfortunately this patch has now a conflict:
{{{
[EMAIL PROTECTED]:/scratch/mabshoff/release-cycle/sage-3.2.rc0/devel/sage$
less sage/rings/arith.py.rej
***************
*** 795,802 ****
sage: next_prime(2004)
2011
"""
- n = integer_ring.ZZ(n)
- return n.next_prime(proof=proof)
def previous_prime(n):
"""
--- 726,732 ----
sage: next_prime(2004)
2011
"""
+ return ZZ(n).next_prime(proof=proof)
def previous_prime(n):
"""
}}}
I am pretty sure this is caused by #4452 which I just merged on top of
3.2.alpha3.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4443#comment:14>
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
-~----------~----~----~----~------~----~------~--~---