File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dpctl/tensor/libtensor/include/kernels Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ class TakeFunctor
93
93
ssize_t src_offset = orthog_offsets.get_first_offset ();
94
94
ssize_t dst_offset = orthog_offsets.get_second_offset ();
95
95
96
- const ProjectorT proj{};
96
+ constexpr ProjectorT proj{};
97
97
for (int axis_idx = 0 ; axis_idx < k_; ++axis_idx) {
98
98
indT *ind_data = reinterpret_cast <indT *>(ind_[axis_idx]);
99
99
@@ -239,7 +239,7 @@ class PutFunctor
239
239
ssize_t dst_offset = orthog_offsets.get_first_offset ();
240
240
ssize_t val_offset = orthog_offsets.get_second_offset ();
241
241
242
- const ProjectorT proj{};
242
+ constexpr ProjectorT proj{};
243
243
for (int axis_idx = 0 ; axis_idx < k_; ++axis_idx) {
244
244
indT *ind_data = reinterpret_cast <indT *>(ind_[axis_idx]);
245
245
You can’t perform that action at this time.
0 commit comments