Closed arogozhnikov closed 8 years ago
This is workaround I am using:
subroutine zadd(a,b,c,n)
real, intent(in) :: a(:), b(:)
real, intent(out) :: c(size(a, 1))
c(:) = a(:) + b (:)
end subroutine
But if someone knows how to do it with intend(hide), I'd be happy to know.
Hi. First of all, thanks for this magic. I'm new to fortran, so it is an awesome ability for me to try using fortran from IPython.
Unfortunately, I'm not able to use intent(hide) variables for sizes, while it seems important. It is code from official f2py guide:
And it fails compiling with very long log, important part is
Do you know a convenient way to work with arrays of dynamic size? Or there are some flags I should add?
Thanks in advance.