[Numpy-discussion] f2py callback bug?

Pearu Peterson pearu.peterson at gmail.com
Wed Nov 25 03:06:39 EST 2009



Pearu Peterson wrote:

> Hmm, regarding `intent(in, out) j`, this should work. I'll check what
> is going on..

The `intent(in, out) j` works when pycalc is defined as subroutine:

   call pycalc(i, j)

instead of

   pyreturn = pycalc(i, j)

Pearu



More information about the NumPy-Discussion mailing list