I'm always impressed with the speed and helpfulness of responses here.
As it turns out, changing
f = sage_eval(f, locals={'x':x})
to
f(x) = sage_eval(f, locals={'x':x})
did the trick. Thanks very much for your help!
- Graham
On Jan 26, 2:39 pm, kcrisman wrote:
> I can almost 100% guarante
I can almost 100% guarantee this is about the fact that
sage: f=x^2
sage: f(3)
9
is not supposed to work anymore, though currently one gets the
deprecation warning and the answer. Are there places in your interact
you can replace f=x^2 with f(x)=x^2? I've noticed this can be tricky
to do if on
On 1/26/11 11:52 AM, Graham Enos wrote:
Hi everybody,
I wrote up a notebook worksheet to use in my Integral Calculus class
that makes use of the @interact decorator. Whenever Ioad the worksheet
for the first time, I get a deprecation warning regarding line 2558 of
interact.py about deprecated fu