![]() | In case we work with copied data, we must copy both ways:
a_p = self.c.py2my_copy(a) x_p = self.c.py2my_copy(self.xcoor) y_p = self.c.py2my_copy(self.ycoor) f_p = self.c.set_pyfunc(func) ext_gridloop.gridloop1(a_p, x_p, y_p, f_p) a = self.c.my2py_copy(a_p) return a |
![]() | Note: final a is not the same a object as we started with |