Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rob Latham
mpich-CVS
Commits
fa489bfe
Commit
fa489bfe
authored
Oct 10, 2007
by
buntinas
Browse files
fixed bug in dataloop code that miscalculated offsets for structs when the hetero flag is set
parent
8a255b9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mpid/common/datatype/dataloop/segment.c
View file @
fa489bfe
...
...
@@ -729,7 +729,7 @@ void PREPEND_PREFIX(Segment_manipulate)(struct DLOOP_Segment *segp,
break
;
case
DLOOP_KIND_STRUCT
:
cur_elmp
->
orig_block
=
DLOOP_STACKELM_STRUCT_BLOCKSIZE
(
cur_elmp
,
cur_elmp
->
orig_count
-
cur_elmp
->
curcount
);
DLOOP_STACKELM_STRUCT_BLOCKSIZE
(
cur_elmp
,
cur_elmp
->
curcount
?
cur_elmp
->
orig_count
-
cur_elmp
->
curcount
:
0
);
break
;
default:
/* --BEGIN ERROR HANDLING-- */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment