我有一個矩陣temp
real,dimension(0:1000,0:5)::temp
當我打
write(*,*)minloc(temp(:,1))
螢幕會顯示出我要的值
但是我打
l=minloc(temp(:,1))
compile的時候就會出現
error FOR2614: assignment between arrays of differing rank
不知道是怎麼回事
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.123.66.145