Skip to content

Commit a660cb7

Browse files
committed
using std::is_unsigned_v
1 parent bf95b38 commit a660cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/backend/kernels/elementwise_functions/bitwise_count.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ struct BitwiseCountFunctor
4343

4444
resT operator()(const argT &x) const
4545
{
46-
if constexpr (std::is_unsigned<argT>::value) {
46+
if constexpr (std::is_unsigned_v<argT>) {
4747
return sycl::popcount(x);
4848
}
4949
else {

0 commit comments

Comments
 (0)