Commit 937c91b4 authored by Martin Bauer's avatar Martin Bauer
Browse files

Merge branch 'fix-TypedImaginaryUnit.__getnewargs__' into 'master'

Add __getnewargs__ to TypedImaginaryUnit

See merge request pycodegen/pystencils!94
parents 2f4313fd 23463e30
......@@ -827,3 +827,6 @@ class TypedImaginaryUnit(TypedSymbol):
__xnew__ = staticmethod(__new_stage2__)
__xnew_cached_ = staticmethod(cacheit(__new_stage2__))
def __getnewargs__(self):
return (self.dtype,)
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