Commit 791caf42 authored by Martin Bauer's avatar Martin Bauer
Browse files

pystencils: fixed problem in pickle/copy support

parent bed12f75
......@@ -220,7 +220,7 @@ class Field:
return obj
def __getnewargs__(self):
return self.name, self.offsets, self.index
return self.field, self.offsets, self.index
__xnew__ = staticmethod(__new_stage2__)
__xnew_cached_ = staticmethod(cacheit(__new_stage2__))
......
Markdown is supported
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