Can you provide any more information, such as your f2py module? How are
you passing the array to/from Python? Perhaps it is getting destroyed
(dereferenced to the point of it being deleted by the Python
interpreter) and you're re-using a dangling pointer?
Mike
George Nurser wrote:
I am
I am finding a very strange error.
I have a program that integrates a partial differential equation using
fortran code in an f2py module. Data in arrays held in the f2py module
is updated in the fortran code. The module arrays are exposed to
python (but not changed by python code). After each