pyroll-project / pyroll-core

PyRoll rolling simulation framework - core library.
https://pyroll.readthedocs.io
BSD 3-Clause "New" or "Revised" License
12 stars 7 forks source link

Adding copy and deepcopy #48

Closed ChRen95 closed 1 year ago

ChRen95 commented 1 year ago

Needs work regarding deepcopy of weakrefs

axtimhaus commented 1 year ago

Problem was missing __deepcopy__ method in Unit._SubUnitsList to copy the weakref correctly.