We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
non_negative
1 parent dce92a5 commit 4a7ceeeCopy full SHA for 4a7ceee
include/CLUEstering/utils/detail/get_clusters.hpp
@@ -17,7 +17,7 @@ namespace clue {
17
18
template <typename T>
19
struct non_negative {
20
- ALPAKA_FN_HOST_ACC constexpr auto operator()(T value) const { return value >= -1; }
+ ALPAKA_FN_HOST_ACC constexpr auto operator()(T value) const { return value > -1; }
21
};
22
23
inline auto get_clusters(std::span<const int> cluster_ids) {
0 commit comments