Dec-01-2017, 09:53 PM
I get a different error message than you
Error:Traceback (most recent call last):
File "testit.py", line 34, in <module>
test()
File "testit.py", line 31, in test
if equal(f1,f2) == None or abs(equal(f1, f2) - 1) > 10**-7:
File "testit.py", line 26, in equal
root = NR(f1()-f2(),diff_param(f1()-f2(),h=0.001))
TypeError: <lambda>() takes exactly 1 argument (0 given)