A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't allow java to attach user data to file (for now ... if a java
[simgrid.git]
/
src
/
smpi
/
smpi_mpi_dt.c
diff --git
a/src/smpi/smpi_mpi_dt.c
b/src/smpi/smpi_mpi_dt.c
index
bc03ee9
..
0db4d81
100644
(file)
--- a/
src/smpi/smpi_mpi_dt.c
+++ b/
src/smpi/smpi_mpi_dt.c
@@
-1460,7
+1460,7
@@
MPI_Op smpi_op_new(MPI_User_function * function, int commute)
int smpi_op_is_commute(MPI_Op op)
{
- return op-> is_commute;
+ return
(op==MPI_OP_NULL) ? 1 :
op-> is_commute;
}
void smpi_op_destroy(MPI_Op op)