@@ -1090,8 +1090,7 @@ PROGRAM ZCHKEE
1090
1090
* ..
1091
1091
* .. Allocatable Arrays ..
1092
1092
INTEGER AllocateStatus
1093
- DOUBLE PRECISION , DIMENSION (:), ALLOCATABLE :: RWORK
1094
- DOUBLE PRECISION , DIMENSION (:,:), ALLOCATABLE :: S
1093
+ DOUBLE PRECISION , DIMENSION (:), ALLOCATABLE :: RWORK, S
1095
1094
COMPLEX * 16 , DIMENSION (:), ALLOCATABLE :: WORK
1096
1095
COMPLEX * 16 , DIMENSION (:,:), ALLOCATABLE :: A, B, C
1097
1096
* ..
@@ -1137,11 +1136,11 @@ PROGRAM ZCHKEE
1137
1136
* ..
1138
1137
* .. Allocate memory dynamically ..
1139
1138
*
1140
- ALLOCATE ( S(NMAX, NMAX), STAT = AllocateStatus )
1139
+ ALLOCATE ( S(NMAX* NMAX), STAT = AllocateStatus )
1141
1140
IF (AllocateStatus /= 0 ) STOP " *** Not enough memory ***"
1142
- ALLOCATE ( A(NMAX, NMAX), STAT = AllocateStatus )
1141
+ ALLOCATE ( A(NMAX* NMAX,NEED ), STAT = AllocateStatus )
1143
1142
IF (AllocateStatus /= 0 ) STOP " *** Not enough memory ***"
1144
- ALLOCATE ( B(NMAX, NMAX), STAT = AllocateStatus )
1143
+ ALLOCATE ( B(NMAX* NMAX, 5 ), STAT = AllocateStatus )
1145
1144
IF (AllocateStatus /= 0 ) STOP " *** Not enough memory ***"
1146
1145
ALLOCATE ( C(NCMAX* NCMAX,NCMAX* NCMAX), STAT = AllocateStatus )
1147
1146
IF (AllocateStatus /= 0 ) STOP " *** Not enough memory ***"
0 commit comments