From f2c91d1cfceb8770f1eb251d3e78f0d7894edb63 Mon Sep 17 00:00:00 2001 From: Michael Wang Date: Fri, 15 Apr 2022 11:18:44 -0700 Subject: [PATCH] one liner logical operator fix --- cpp/include/cudf/detail/reduction.cuh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cpp/include/cudf/detail/reduction.cuh b/cpp/include/cudf/detail/reduction.cuh index 76afbf7e4b8..521ce3b7aec 100644 --- a/cpp/include/cudf/detail/reduction.cuh +++ b/cpp/include/cudf/detail/reduction.cuh @@ -50,11 +50,11 @@ namespace detail { * @tparam InputIterator the input column iterator * @tparam OutputType the output type of reduction */ -template ::type, - std::enable_if_t() && - not cudf::is_fixed_point()>* = nullptr> +template < + typename Op, + typename InputIterator, + typename OutputType = typename thrust::iterator_value::type, + std::enable_if_t() && !cudf::is_fixed_point()>* = nullptr> std::unique_ptr reduce(InputIterator d_in, cudf::size_type num_items, op::simple_op sop,