@@ -1090,8 +1090,7 @@ PROGRAM ZCHKEE
10901090* ..
10911091* .. Allocatable Arrays ..
10921092 INTEGER AllocateStatus
1093- DOUBLE PRECISION , DIMENSION (:), ALLOCATABLE :: RWORK
1094- DOUBLE PRECISION , DIMENSION (:,:), ALLOCATABLE :: S
1093+ DOUBLE PRECISION , DIMENSION (:), ALLOCATABLE :: RWORK, S
10951094 COMPLEX * 16 , DIMENSION (:), ALLOCATABLE :: WORK
10961095 COMPLEX * 16 , DIMENSION (:,:), ALLOCATABLE :: A, B, C
10971096* ..
@@ -1137,11 +1136,11 @@ PROGRAM ZCHKEE
11371136* ..
11381137* .. Allocate memory dynamically ..
11391138*
1140- ALLOCATE ( S(NMAX, NMAX), STAT = AllocateStatus )
1139+ ALLOCATE ( S(NMAX* NMAX), STAT = AllocateStatus )
11411140 IF (AllocateStatus /= 0 ) STOP " *** Not enough memory ***"
1142- ALLOCATE ( A(NMAX, NMAX), STAT = AllocateStatus )
1141+ ALLOCATE ( A(NMAX* NMAX,NEED ), STAT = AllocateStatus )
11431142 IF (AllocateStatus /= 0 ) STOP " *** Not enough memory ***"
1144- ALLOCATE ( B(NMAX, NMAX), STAT = AllocateStatus )
1143+ ALLOCATE ( B(NMAX* NMAX, 5 ), STAT = AllocateStatus )
11451144 IF (AllocateStatus /= 0 ) STOP " *** Not enough memory ***"
11461145 ALLOCATE ( C(NCMAX* NCMAX,NCMAX* NCMAX), STAT = AllocateStatus )
11471146 IF (AllocateStatus /= 0 ) STOP " *** Not enough memory ***"
0 commit comments