}
}
}
- else if ((*dtype == MPI_SHORT) ) {
+ else if (*dtype == MPI_SHORT) {
for (i=0;i<*count;i++) {
if (((short *)src)[i] > ((short *)target)[i]) {
((short *)target)[i] = ((short *)src)[i];
}
}
- else if ((*dtype == MPI_DOUBLE)) {
+ else if (*dtype == MPI_DOUBLE) {
for (i=0;i<*count;i++) {
if (((double *)src)[i] > ((double *)target)[i]) {
((double *)target)[i] = ((double *)src)[i];
}
}
}
- else if ((*dtype == MPI_FLOAT)) {
+ else if (*dtype == MPI_FLOAT) {
for (i=0;i<*count;i++) {
if (((float *)src)[i] > ((float *)target)[i]) {
((float *)target)[i] = ((float *)src)[i];
}
}
}
- else if ((*dtype == MPI_SHORT) ) {
+ else if (*dtype == MPI_SHORT) {
for (i=0;i<*count;i++) {
if (((short *)src)[i] < ((short *)target)[i]) {
((short *)target)[i] = ((short *)src)[i];
}
}
- else if ((*dtype == MPI_DOUBLE)) {
+ else if (*dtype == MPI_DOUBLE) {
for (i=0;i<*count;i++) {
if (((double *)src)[i] < ((double *)target)[i]) {
((double *)target)[i] = ((double *)src)[i];
}
}
}
- else if ((*dtype == MPI_FLOAT)) {
+ else if (*dtype == MPI_FLOAT) {
for (i=0;i<*count;i++) {
if (((float *)src)[i] < ((float *)target)[i]) {
((float *)target)[i] = ((float *)src)[i];
((unsigned int *)target)[i] += ((unsigned int *)src)[i];
}
}
- else if ((*dtype == MPI_SHORT) ) {
+ else if (*dtype == MPI_SHORT) {
for (i=0;i<*count;i++) {
((short *)target)[i] += ((short *)src)[i];
}
}
}
- else if ((*dtype == MPI_DOUBLE)) {
+ else if (*dtype == MPI_DOUBLE) {
for (i=0;i<*count;i++) {
((double *)target)[i] += ((double *)src)[i];
}
}
- else if ((*dtype == MPI_FLOAT)) {
+ else if (*dtype == MPI_FLOAT) {
for (i=0;i<*count;i++) {
((float *)target)[i] += ((float *)src)[i];
}
((unsigned int *)target)[i] *= ((unsigned int *)src)[i];
}
}
- else if ((*dtype == MPI_SHORT) ) {
+ else if (*dtype == MPI_SHORT) {
for (i=0;i<*count;i++) {
((short *)target)[i] *= ((short *)src)[i];
}
}
}
- else if ((*dtype == MPI_DOUBLE)) {
+ else if (*dtype == MPI_DOUBLE) {
for (i=0;i<*count;i++) {
((double *)target)[i] *= ((double *)src)[i];
}
}
- else if ((*dtype == MPI_FLOAT)) {
+ else if (*dtype == MPI_FLOAT) {
for (i=0;i<*count;i++) {
((float *)target)[i] *= ((float *)src)[i];
}