diff --git a/pystencils/interpolation_astnodes.py b/pystencils/interpolation_astnodes.py index 27b11948165846f6e218bece94d89b07319463da..125a3a598442737b35be73a9ed54d44c52ea910d 100644 --- a/pystencils/interpolation_astnodes.py +++ b/pystencils/interpolation_astnodes.py @@ -287,6 +287,9 @@ class InterpolatorAccess(TypedSymbol): # noinspection SpellCheckingInspection __xnew_cached_ = staticmethod(cacheit(__new_stage2__)) + def __getnewargs__(self): + return self.symbol, self.offsets + ########################################################################################## # GPU-specific fast specializations (for precision GPUs can also use above nodes/symbols # ##########################################################################################