[sage-support] Function-call syntax deprecation

2021-09-09 Thread Federico Galetto
Hello, I get a warning due to function-call syntax deprecation and I don't understand how to fix it despite looking at other similar conversations. Here is the setup for my code: t=var('t') gamma=vector([t,t^2,t^3]) curve=parametric_plot(gamma,(t,-2,2),color='black',radius=0.02) v=derivative(gam

[sage-support] Re: Function-call syntax deprecation

2021-09-10 Thread Federico Galetto
Thank you both for your suggestions! The gamma(t)=... solution gave me some other error down the line, while appending .function(t) to the definition of gamma worked but raised errors from later calls to simplify_full(). In the end, replacing x with t=x in the definition of my 'frame' function