Skip to content

Commit d259308

Browse files
committed
fix bug in comm attr copy code
Signed-off-by: Howard Pritchard <[email protected]>
1 parent 177e600 commit d259308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mpi/bindings/ompi_bindings/c_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ def init_code(self):
13891389
code.append('}')
13901390
code.append('helper->user_copy_fn = copy_fn;')
13911391
code.append('helper->user_extra_state = extra_state;')
1392-
code.append('extra_state = helper->user_extra_state;')
1392+
code.append('extra_state = helper;')
13931393
return code
13941394

13951395
# TODO: This should be generalized to be reused with type and win

0 commit comments

Comments
 (0)