Python Forum
f1(), f2() lambda functions addition
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
f1(), f2() lambda functions addition
#4
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)
Reply


Messages In This Thread
RE: f1(), f2() lambda functions addition - by micseydel - Dec-01-2017, 09:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] f1(), f2() lambda functions addition baby_quant 8 3,994 Sep-14-2018, 04:14 AM
Last Post: baby_quant
  Homework on addition with working paperplanexx 1 2,526 Aug-19-2018, 12:40 PM
Last Post: j.crater

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020