#11753: Fix step=0 in (x)srange
------------------------+---------------------------------------------------
Reporter: ppurka | Owner: jason, was
Type: defect | Status: new
Priority: minor | Milestone: sage-4.7.2
Component: graphics | Keywords: srange xsrange division_by_zero
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by ppurka):
Attached patch which patches srange() and xsrange() in
devel/sage/sage/misc/misc.py and setup_for_eval_on_grid() in
devel/sage/sage/plot/misc.py
In all the functions, the patch will now raise an error instead of
silently failing.
The plot() command (and also plot3d()) both now give the a more meaningful
error if the endpoint and startpoints in the range are the same.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11753#comment:3>
Sage <http://www.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.