#6811: [with patch; needs review] prime_pi.plot is wrong (!)
---------------------------+------------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: new
Priority: critical | Milestone: sage-4.1.2
Component: number theory | Keywords:
Reviewer: | Author:
Merged: |
---------------------------+------------------------------------------------
Comment(by was):
I've attached code to fix this bug. It does things right.
(1) I created a plot_step_function command that can be used to plot
general step functions, and added it to the reference manual.
(2) I changed the current broken prime_pi.plot to use that and use a
much easier to understand (hence right) algorithm to generate the plot.
(3) I fixed a bunch of ReST mistakes in prime_pi.pyx while I was at it.
(4) I added prime_pi to the reference manual.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6811#comment:1>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---