[Numpy-discussion] f2py problem with complex inout in subroutine

Mark Bakker markbak@gmail....
Fri Jul 9 06:03:58 CDT 2010

Hello list. The following subroutine fails to compile with f2py.
I use a complex variable with intent(inout). It works fine with two real
variables, so I have a workaround, but it would be nicer with a complex
Any thoughts on what I am doing wrong?
Thanks, Mark

module bessel
    subroutine test( zxa )
        complex(kind=8), intent(inout) :: zxa
        zxa = cmplx(1.d0,2.d0,8)
    end subroutine test
end module bessel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100709/dea506cb/attachment.html 

More information about the NumPy-Discussion mailing list