Skip to content

Commit

Permalink
Update src/cunumeric/index/select_template.inl
Browse files Browse the repository at this point in the history
Co-authored-by: Manolis Papadakis <[email protected]>
  • Loading branch information
ipdemes and manopapad authored Dec 3, 2023
1 parent 0e62f2b commit d435631
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cunumeric/index/select_template.inl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ struct SelectImpl {
}

std::vector<AccessorRO<VAL, DIM>> choicelist;
for (int i = args.inputs.size() / 2; i < args.inputs.size(); i++) {
choicelist.reserve(args.inputs.size() / 2);
for (int32_t i = args.inputs.size() / 2; i < args.inputs.size(); i++) {
auto rect_c = args.inputs[i].shape<DIM>();
#ifdef DEBUG_CUNUMERIC
assert(rect_c == out_rect);
Expand Down

0 comments on commit d435631

Please sign in to comment.