Skip to content
Snippets Groups Projects
Commit 791caf42 authored by Martin Bauer's avatar Martin Bauer
Browse files

pystencils: fixed problem in pickle/copy support

parent bed12f75
No related merge requests found
...@@ -220,7 +220,7 @@ class Field: ...@@ -220,7 +220,7 @@ class Field:
return obj return obj
def __getnewargs__(self): def __getnewargs__(self):
return self.name, self.offsets, self.index return self.field, self.offsets, self.index
__xnew__ = staticmethod(__new_stage2__) __xnew__ = staticmethod(__new_stage2__)
__xnew_cached_ = staticmethod(cacheit(__new_stage2__)) __xnew_cached_ = staticmethod(cacheit(__new_stage2__))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment