Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Fix for Issue #72 (cub:InequalityWrapper::operator() should be
Browse files Browse the repository at this point in the history
non-const)

https://github.com/NVlabs/cub/issues/72
Former-commit-id: 6f9118865e5f55c82a627bd2f69140c5e8bd0d01
  • Loading branch information
dumerrill authored and dumerrill committed Nov 20, 2016
1 parent 749d366 commit 8fe5416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub/thread/thread_operators.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct InequalityWrapper

/// Boolean inequality operator, returns <tt>(a != b)</tt>
template <typename T>
__host__ __device__ __forceinline__ bool operator()(const T &a, const T &b) const
__host__ __device__ __forceinline__ bool operator()(const T &a, const T &b)
{
return !op(a, b);
}
Expand Down

0 comments on commit 8fe5416

Please sign in to comment.