[Numpy-discussion] f2py problem with complex inout in subroutine
Mark Bakker
markbak at gmail.com
Fri Jul 9 07:03:58 EDT 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
variable.
Any thoughts on what I am doing wrong?
Thanks, Mark
module bessel
contains
subroutine test( zxa )
complex(kind=8), intent(inout) :: zxa
zxa = cmplx(1.d0,2.d0,8)
return
end subroutine test
end module bessel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100709/dea506cb/attachment.html>
More information about the NumPy-Discussion
mailing list