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 cb5716a commit 02ef7bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cunumeric/index/select_template.inl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct SelectImpl {
assert(rect_c == out_rect);
#endif
choicelist.push_back(args.inputs[i].read_accessor<VAL, DIM>(rect_c));
dense = dense && choicelist[i - args.inputs.size() / 2].accessor.is_dense_row_major(out_rect);
dense = dense && choicelist.back().accessor.is_dense_row_major(out_rect);
}

VAL default_value = args.default_value.value<VAL>();
Expand Down

0 comments on commit 02ef7bd

Please sign in to comment.