Skip to content

Commit 257b172

Browse files
committed
Make comparator static constexpr
1 parent 181c9bd commit 257b172

File tree

1 file changed

+1
-1
lines changed
  • dpctl/tensor/libtensor/include/kernels/sorting

1 file changed

+1
-1
lines changed

dpctl/tensor/libtensor/include/kernels/sorting/isin.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ struct IsinFunctor
7878

7979
void operator()(sycl::id<1> id) const
8080
{
81-
const Compare comp{};
81+
static constexpr Compare comp{};
8282

8383
const std::size_t i = id[0];
8484
const T needle_v = needles_tp[needles_indexer(i)];

0 commit comments

Comments
 (0)