On Jun 15, 2009, at 3:08 PM, Tom Boothby wrote:
>
> The error isn't in your code, I've duplicated this with much
> simpler code.
>
> {{{
> %cython
> from sage.rings.all import CC
> def foo(z):
> return CC(z)
> }}}
>
> {{{
> complex_plot(foo,(0,1),(0,1))
> ///
> Traceback (click to the left
The error isn't in your code, I've duplicated this with much simpler code.
{{{
%cython
from sage.rings.all import CC
def foo(z):
return CC(z)
}}}
{{{
complex_plot(foo,(0,1),(0,1))
///
Traceback (click to the left for traceback)
...
TypeError: a float is required
}}}
{{{
complex_plot(lambda