diff --git a/pystencils/interpolation_astnodes.py b/pystencils/interpolation_astnodes.py index c230d0115bf858213e3071986abb70ed86d23f96..a694cb8eac864fdcea59fced498f72619bbdfec1 100644 --- a/pystencils/interpolation_astnodes.py +++ b/pystencils/interpolation_astnodes.py @@ -352,7 +352,7 @@ class InterpolatorAccess(TypedSymbol): __xnew_cached_ = staticmethod(cacheit(__new_stage2__)) def __getnewargs__(self): - return tuple(self.symbol, *self.offsets) + return (self.symbol, *self.offsets) class DiffInterpolatorAccess(InterpolatorAccess): @@ -397,7 +397,7 @@ class DiffInterpolatorAccess(InterpolatorAccess): __xnew_cached_ = staticmethod(cacheit(__new_stage2__)) def __getnewargs__(self): - return tuple(self.symbol, self.diff_coordinate_idx, *self.offsets) + return (self.symbol, self.diff_coordinate_idx, *self.offsets) ##########################################################################################