Skip to content

Commit

Permalink
AER-6564 - fixed offset-index size calculation during context eval wi…
Browse files Browse the repository at this point in the history
…th top-level lists.
  • Loading branch information
gooding470 committed Aug 15, 2022
1 parent 3e53982 commit fc40e3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions as/src/base/cdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1993,13 +1993,13 @@ cdt_context_create_new_particle(cdt_context *ctx, uint32_t subctx_sz)

if (is_ordered) {
offset_index_init(&topoff, (uint8_t *)ext.data,
ctx->top_ele_count, NULL, new_content_sz);
ctx->top_ele_count, NULL, ctx->top_content_sz);
offset_index_init(&newoff, NULL, ctx->top_ele_count, NULL,
new_content_sz);
}
else {
list_partial_offset_index_init(&topoff, (uint8_t *)ext.data,
ctx->top_ele_count, NULL, new_content_sz);
ctx->top_ele_count, NULL, ctx->top_content_sz);
list_partial_offset_index_init(&newoff, NULL,
ctx->top_ele_count, NULL, new_content_sz);
}
Expand Down

0 comments on commit fc40e3d

Please sign in to comment.