- Notifications
You must be signed in to change notification settings - Fork441
Closed
Description
trying to pickle a state space object causes error
from control import ssfrom pickle import dumpsys=ss([[0,1],[0,0]],[[0],[1]],[[1,0]],[[0]])with open("deleteme","wb") as f: dump(sys,f)
Traceback (most recent call last): File "/home/paul/Documents/paul/personal/properly named/tippy control with better control/test_pickle_ss.py", line 7, in <module> dump(sys,f) ~~~~^^^^^^^AttributeError: Can't get local object 'StateSpace.__init__.<locals>.<lambda>'
control 0.10.1
Python 3.13.3
archlinux
Metadata
Metadata
Assignees
Labels
No labels