File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -156,18 +156,20 @@ sub generate {
156
156
queue_sub(" integer(int${size} )" , " int${size} " , " int${size} " );
157
157
}
158
158
for my $size (qw/ 16 32 64 128/ ) {
159
- if (!($size == 16 && $mpi_real2 == 0 && $ mpi_iso_real16 == 0) &&
159
+ if (!($size == 16 && $mpi_iso_real16 == 0) &&
160
160
!($size == 128 && $mpi_real16 == 0)) {
161
161
queue_sub(" real(real${size} )" , " real${size} " , " real${size} " );
162
162
}
163
- if (!($size == 16 && $mpi_complex4 == 0 && $ mpi_iso_real16 == 0) &&
163
+ if (!($size == 16 && $mpi_iso_real16 == 0) &&
164
164
!($size == 128 && $mpi_complex32 == 0)) {
165
165
queue_sub(" complex(real${size} )" , " complex${size} " , " real${size} " );
166
166
}
167
167
}
168
- if ($mpi_real2 == 1 && $mpi_iso_real16 == 0) {
169
- queue_sub(" real*2" , " real16" );
170
- queue_sub(" complex*4" , " complex16" );
168
+ if ($mpi_real2 == 1) {
169
+ queue_sub(" real*2" , " real2" );
170
+ }
171
+ if ($mpi_complex4 == 1) {
172
+ queue_sub(" complex*4" , " complex4" );
171
173
}
172
174
queue_sub(" character" , " character" );
173
175
queue_sub(" logical" , " logical" );
You can’t perform that action at this time.
0 commit comments