summaryrefslogtreecommitdiff
path: root/sortlib.cuh
diff options
context:
space:
mode:
Diffstat (limited to 'sortlib.cuh')
-rw-r--r--sortlib.cuh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sortlib.cuh b/sortlib.cuh
index 64f355b..8d6788e 100644
--- a/sortlib.cuh
+++ b/sortlib.cuh
@@ -239,7 +239,8 @@ public:
return last_known_point;
}
- __device__ __host__ double static sample_cdf(key_type *begin, long length,
+ __device__ __host__ double static sample_cdf(key_type *begin,
+ unsigned long length,
key_type x) {
// printf("%f\n", x);
auto end = begin + length;