Skip to content

Commit

Permalink
Fix another place where *vector_was_sorted should have been used
Browse files Browse the repository at this point in the history
Signed-off-by: Quincey Koziol <[email protected]>
  • Loading branch information
qkoziol committed May 2, 2024
1 parent 0c72506 commit 60cd6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/H5FDmpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1804,7 +1804,7 @@ H5FD__mpio_vector_build_types(uint32_t count, H5FD_mem_t types[], haddr_t addrs[
/* Determine size of this vector element */
if (!fixed_size) {
if ((*s_sizes)[i] == 0) {
assert(vector_was_sorted);
assert(*vector_was_sorted);
assert(i > 0);
fixed_size = true;
size = sizes[i - 1];
Expand Down

0 comments on commit 60cd6df

Please sign in to comment.