Skip to content
Snippets Groups Projects
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
1 merge request!94Add __getnewargs__ to TypedImaginaryUnit
Pipeline #20146 passed with stages
in 4 minutes and 45 seconds
......@@ -827,3 +827,6 @@ class TypedImaginaryUnit(TypedSymbol):
__xnew__ = staticmethod(__new_stage2__)
__xnew_cached_ = staticmethod(cacheit(__new_stage2__))
def __getnewargs__(self):
return (self.dtype,)
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