-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
It appears to me f2py isn't treating INTERFACE blocks right. Try that code:
pure subroutine sub1(i, o)
implicit none
integer, intent(in) :: i
integer, intent(out) :: o
interface
pure subroutine sub2(i, o)
integer, intent(in) :: i
integer, intent(out) :: o
end
end interface
call sub2(i, o)
end
pure subroutine sub2(i, o)
implicit none
integer, intent(in) :: i
integer, intent(out) :: o
o = 2*i
end I am using f2py version 2.45.241 which comes with Ubuntu 14.04.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels