On 02/13/2014 06:50 AM, Jason Grout wrote:
David Smith just pointed this out: arcsec(float(.1)) throws an error
that doesn't make much sense.  Yes, it's outside of the domain, but it
should probably deal with this by returning NaN or something rather than
a type error.  This came up when David was trying to plot arcsec.

On a related note, maybe we should have some sort of error that can be
thrown for values outside of domains?  Plot could catch an out-of-domain
error and break the drawing there, so you wouldn't end up with something
like http://sagecell.sagemath.org/?q=llweji

Thanks,

Jason


The patch to plot() needs review since nearly two years. You may want to review, or check that ticket:

http://trac.sagemath.org/ticket/13246

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to