Skip to content

Commit 72d3006

Browse files
authored
Merge pull request #9405 from awlauria/fortran_logic_master
Fortran logical fix.
2 parents 3fedbf7 + ec9c28f commit 72d3006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mpi/fortran/mpif-h/improbe_f.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ void ompi_improbe_f(MPI_Fint *source, MPI_Fint *tag, MPI_Fint *comm,
9595

9696
if (MPI_SUCCESS == c_ierr) {
9797
OMPI_SINGLE_INT_2_LOGICAL(flag);
98-
if (OMPI_FORTRAN_VALUE_TRUE == *flag) {
98+
if (1 == OMPI_LOGICAL_2_INT(*flag)) {
9999
OMPI_FORTRAN_STATUS_RETURN(c_status,c_status2,status,c_ierr)
100100
*message = PMPI_Message_c2f(c_message);
101101
}

0 commit comments

Comments
 (0)