The following code snippet works, until you uncomment the "c=x-a" line, at which point you get the error "TypeError: f() takes exactly 2 arguments (1 given)". The line "c=x" causes no problems. What's going on?
(Note: I know you don't need that line; this replicates the TypeError in a more complicated problem.) from mpmath import * def f(a,b): # c=x-a return a-2, b-3 print findroot(f, (5, 6)) -- 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 sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.