Commit c6648fbb authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Add DiffInterpolatorAccess.__repr__

parent ca17e888
......@@ -320,6 +320,9 @@ class DiffInterpolatorAccess(InterpolatorAccess):
return '%s_diff%i_interpolator(%s)' % (self.field.name, self.diff_coordinate_idx,
','.join(str(o) for o in self.offsets))
def __repr__(self):
return str(self)
@property
def args(self):
return [self.symbol, self.diff_coordinate_idx, *self.offsets]
......
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