On Tuesday, June 14, 2016 at 10:07:30 PM UTC+2, john_perry_usm wrote:
>
> sage: f(t) = t^2 + 2
> sage: test_subs(f, 1, t)
> ...
> TypeError: no canonical coercion from <type 'dict'> to Callable function 
> ring with argument t
>
>
I am not sure why you didn't try:
sage: test_subs(f(t),1,t) 
3

Of course it cannot work if you don't give a dependent var. 

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to