We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76c1ae5 commit acdae9dCopy full SHA for acdae9d
1 file changed
src/cunumeric/index/advanced_indexing_template.inl
@@ -44,7 +44,7 @@ struct AdvancedIndexingImpl {
44
45
if (volume1 == 0 || volume2 == 0) {
46
auto empty = create_buffer<VAL>(0);
47
- args.output.return_data(empty, 0);
+ args.output.return_data(empty, Point<1>(0));
48
return;
49
}
50
@@ -67,9 +67,9 @@ struct AdvancedIndexingImpl {
67
assert(false);
68
69
if (args.is_set) {
70
- args.output.return_data(output_arr_set, size);
+ args.output.return_data(output_arr_set, Point<1>(size));
71
} else {
72
- args.output.return_data(output_arr, size);
+ args.output.return_data(output_arr, Point<1>(size));
73
74
75
};
0 commit comments