We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e577259 + 82c479a commit 855c5b0Copy full SHA for 855c5b0
ompi/datatype/ompi_datatype_args.c
@@ -100,7 +100,7 @@ typedef struct __dt_args {
100
if( pArgs->ci == 0 ) pArgs->i = NULL; \
101
else pArgs->i = (int*)buf; \
102
pArgs->ref_count = 1; \
103
- pArgs->total_pack_size = (4 + (IC)) * sizeof(int) + \
+ pArgs->total_pack_size = (4 + (IC) + (DC)) * sizeof(int) + \
104
(AC) * sizeof(OPAL_PTRDIFF_TYPE); \
105
(PDATA)->args = (void*)pArgs; \
106
(PDATA)->packed_description = NULL; \
0 commit comments