In article <[log in to unmask]>, [log in to unmask]
(Phillip Helbig---remove CLOTHES to reply) writes:
> ! same error whether using the commented-out lines or the two following
> ! them, so the problem is not the fancy dimension stuff
> !REAL(SP), DIMENSION(:), INTENT(IN) :: Z
> !REAL(SP), DIMENSION(SIZE(Z)) :: Q
> REAL(SP) :: Z
> REAL(SP) :: Q
Sorry, typed too quickly here. The code above produces:
%F90-E-ERROR, The shape matching rules of actual arguments and dummy
arguments have been violated. [Q]
This is confusing as well, though; surely a rank-zero array should be
compatible with a scalar?
|