On Feb 13, 5:15 am, Jason Grout <jason-s...@creativetrax.com> wrote:
> Very cool interact (that second one).  I fixed the problem.  However,
> you need to add:
>
> u,v=var('u,v')
>
> at the top before the definition of the interact to get it to work
> right.  This is a separate problem from the one in the issue above.

Maybe this is not quite a bug. It seems that using SR.var instead of
just var works inside the interac function. In principle, as I
understand it, using var inside of functions is discouraged as there
can be some problems with the scopes where names are injected. I had a
similar problem some time ago but don't recall the details.

Thank you!
Andrey

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

Reply via email to