You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears to me f2py isn't treating INTERFACE blocks right. Try that code:
puresubroutinesub1(i, o)
implicit noneinteger, intent(in) :: i
integer, intent(out) :: o
interface
puresubroutinesub2(i, o)
integer, intent(in) :: i
integer, intent(out) :: o
end
end interface
call sub2(i, o)
end
puresubroutinesub2(i, o)
implicit noneinteger, 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.
The text was updated successfully, but these errors were encountered:
It appears to me f2py isn't treating INTERFACE blocks right. Try that code:
I am using f2py version 2.45.241 which comes with Ubuntu 14.04.
The text was updated successfully, but these errors were encountered: