Commit 715a162
committed
reduce/ireduce: Return MPI_SUCCESS when count == 0 and send == recv.
This will avoid returning an error for 0 counts when the
send and recv buffers are NULL.
Adding this will avoid skipping existing validations
and drop down to the current count == 0 check.
Signed-off-by: Austen Lauria <awlauria@us.ibm.com>1 parent 3a0adf5 commit 715a162
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| |||
0 commit comments