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 a3f1e1d commit 0e62f2b
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 @@ -50,7 +50,8 @@ struct SelectImpl {
#endif

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

0 comments on commit 0e62f2b

Please sign in to comment.