That definitely looks like a bug.  It seems to be in the fast_float
command, called by setup_for_eval_on_grid.  Hopefully someone more
familiar with fast_float can comment on what is going wrong.

-M.Hampton

On Dec 31 2009, 5:30 pm, TianWei <ltwis...@gmail.com> wrote:
> When I try the following:
>
> sage:  x,y = var('x,y')
> sage:  region_plot(1/x + 1/y > 1/x * 1/y, (x,-10,10), (y,-10,10)).show
> ()
>
> I get an error (the last line of the Traceback is reproduced below):
>
> TypeError: reduce() of empty sequence with no initial value
>
> This error occurs in both the notebook and at the Sage prompt. I found
> this in versions 4.1.2 to 4.3, but I don't know about the versions
> before 4.1.2.
>
> Interestingly, the following commands work:
>
> sage:  region_plot(1/x + 1/y < 1/x * 1/y, (x,-10,10), (y,-10,10)).show
> ()     # '>' changed to '<'
> sage:  implicit_plot(1/x + 1/y == 1/x * 1/y, (x,-10,10),
> (y,-10,10)).show()
>
> I'm not very proficient at using Sage, so I appreciate any ideas and
> advice.
>
> Tianwei

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to