Pearu,
Thanks. a follow question.
Using fortran
subroutine calc(j)
Cf2py intent(callback) pycalc
external pycalc
Cf2py integer dimension(1), intent(in,out):: j
integer j(1)
print *, 'in fortran before pycalc ',
'j=', j(1)
call pycalc(j)
print *, 'in fortran af
While using the call-back feature of
f2py I stumbled across what appears
to be a bug and I'm asking the community to look into this.
Background: I'm in the middle of converting some legacy fortran to
python.
There is one routine that is particulary thorny that calls more
easily
convertible servic