Skip to content

Commit 4a7ceee

Browse files
committed
Fix definition of non_negative functor
1 parent dce92a5 commit 4a7ceee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/CLUEstering/utils/detail/get_clusters.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace clue {
1717

1818
template <typename T>
1919
struct non_negative {
20-
ALPAKA_FN_HOST_ACC constexpr auto operator()(T value) const { return value >= -1; }
20+
ALPAKA_FN_HOST_ACC constexpr auto operator()(T value) const { return value > -1; }
2121
};
2222

2323
inline auto get_clusters(std::span<const int> cluster_ids) {

0 commit comments

Comments
 (0)