f2py problem with complex inout in subroutine
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
On 07/09/2010 02:03 PM, Mark Bakker wrote:
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?
compilation failed because of typos in the generated code. This is fixed in svn revision 8478. Pearu
participants (2)
-
Mark Bakker
-
Pearu Peterson