Author: JohnJohn
Date: Jul 8, 2008 12:33
Hi guys,
I have a simple question to ask.
In fortran90, I define a 2by2 matrix, for example, real(8):: mat(2,2).
Then I want to assign value to this matrix. But when I use mat=(/
1,2,3,4 /), it says "Error: The shapes of the array expressions do not
conform." Do you know how should I modify it? Thanks a lot.
John
|