1
1

The output of the copy function is a logical, not an int. So we need

to use the appropriate macro for all the Fortran .TRUE. handling, or
things get misinterpeted and, with some compilers, it will look like
the attribute wasn't copied properly.

This commit was SVN r9536.
Этот коммит содержится в:
Jeff Squyres 2006-04-05 19:00:11 +00:00
родитель 0ba8851a47
Коммит f6bbe033f0

Просмотреть файл

@ -308,7 +308,7 @@
} \
out_attr->av_value = (void*) 0; \
*out_attr->av_integer_pointer = out; \
flag = OMPI_FINT_2_INT(f_flag); \
flag = OMPI_LOGICAL_2_INT(f_flag); \
} \
/* MPI-2 Fortran-style */ \
else { \