#13246: Automatic exclusion of non-domain points in things like arcsec
-------------------------------------+-------------------------------------
Reporter: kcrisman | Owner: jason, was
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.3
Component: graphics | Resolution:
Keywords: | Merged in:
Authors: Punarbasu | Reviewers: Ralf Stephan, Karl-
Purkayastha | Dieter Crisman
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/ppurka/automatic_exclusion_of_non_domain_points_in_things_like_arcsec|
e79bdb8e73d8ebdca5cb6782ca1e4ae7cd17b96e
Dependencies: #16439 | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
Comment:
I get
{{{
sage -t --long src/sage/plot/plot.py
**********************************************************************
File "src/sage/plot/plot.py", line 1276, in sage.plot.plot.?
Failed example:
parametric_plot((x, arcsec(x)), (x, -2, 2))
Exception raised:
Traceback (most recent call last):
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 480, in _run
self.execute(example, compiled, test.globs)
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 839, in execute
exec compiled in globs
File "<doctest sage.plot.plot.?[14]>", line 1, in <module>
parametric_plot((x, arcsec(x)), (x, -Integer(2), Integer(2)))
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/misc/decorators.py", line 550, in wrapper
return func(*args, **options)
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/plot/plot.py", line 1659, in parametric_plot
return plot(funcs, *args, **kwargs)
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/misc/decorators.py", line 705, in wrapper
return func(*args, **kwds)
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/misc/decorators.py", line 550, in wrapper
return func(*args, **options)
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/plot/plot.py", line 1176, in plot
G = _plot(funcs, *args, **kwds)
File "/home/release/Sage/local/lib/python2.7/site-
packages/sage/plot/plot.py", line 1383, in _plot
newdata.append((fdata, g(x)))
File "wrapper_rdf.pyx", line 80, in
sage.ext.interpreters.wrapper_rdf.Wrapper_rdf.__call__
(build/cythonized/sage/ext/interpreters/wrapper_rdf.c:1689)
TypeError: can't convert complex to float
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/13246#comment:61>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.