I have successfully instantiated the instance object of the class, and the "dynamics" attribute is a method and has been instantiated successfully, but when using "dynamics" I get an error TypeError: 'NoneType' object is not callable
Error
Traceback (most recent call last):
File "/home/smy/PycharmProjects/Lyapunov2Torch/safe_learning/test/test_update_set.py", line 23, in test_update_safe_set_with_can_shrink_true
self.lyap.update_safe_set(can_shrink=True)
File "/home/smy/PycharmProjects/Lyapunov2Torch/safe_learning/lyapunov.py", line 953, in update_safe_set
next_states = self.dynamics(py_states, actions)
TypeError: 'NoneType' object is not callable
I hope dynamic can be instantiated correctly