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.
1 parent dd9a819 commit 2b868c4Copy full SHA for 2b868c4
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