I get the following deprecation warning for a Sage interact:
/home/sc_serv/sage/local/lib/python2.7/site-packages/sage/misc/sage_eval.py:203:
DeprecationWarning: Substitution using function-call syntax and unnamed
arguments is deprecated and will be removed from a future release of Sage; you
can use named arguments instead, like EXPR(x=..., y=...)
See http://trac.sagemath.org/5930 for details.
return eval(source, sage.all.__dict__, locals)
The interact code is
t = var('t')
x = function('x')(t)
y = function('y')(t)
@interact
def _(f = input_box(default = 3*x -
2*y),
g = input_box(default = x + y),
t_start = input_box(default = 0),
x_start = input_box(default = 1), y_start = input_box(default = 1)):
de1 = diff(x,t) == f
de2 = diff(y,t) == g
sol = desolve_system([de1, de2],
[x,y], ics=[t_start, x_start, y_start])
sol[0].show()
sol[1].show()
html(r"$\displaystyle\frac{dx}{dt}
= %s$" %latex(f))
html(r"$\displaystyle\frac{dy}{dt}
= %s$" %latex(g))
I’m sure the fix is easy and straightforward, but I don’t see it. Can anyone
help?
Tom Judson
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/0D45945E-4C02-4518-8184-95D969A2555D%40gmail.com.