Using a class method in a NonlinearIOSystem · python-control/python-control · Discussion #630
Comment options
I figured it out. Apparently, "params" is required as an argument for the predprey_rhs method. Previously, I defined the parameters in init, and didn't include "params" as a predprey_rhs method. Once I added it back in, even though is wasn't used, the error went away. I still don't understand why it threw the TypeError, but no matter.
You must be logged in to vote
2 replies