diff options
Diffstat (limited to 'boost/compute/algorithm/detail/find_extrema_with_reduce.hpp')
-rw-r--r-- | boost/compute/algorithm/detail/find_extrema_with_reduce.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/compute/algorithm/detail/find_extrema_with_reduce.hpp b/boost/compute/algorithm/detail/find_extrema_with_reduce.hpp index 1fbb7dee19..8f2a83c38b 100644 --- a/boost/compute/algorithm/detail/find_extrema_with_reduce.hpp +++ b/boost/compute/algorithm/detail/find_extrema_with_reduce.hpp @@ -128,7 +128,7 @@ inline void find_extrema_with_reduce(InputIterator input, // Next element k.decl<input_type>("next") << " = " << input[k.var<uint_>("idx")] << ";\n" << "#ifdef BOOST_COMPUTE_USE_INPUT_IDX\n" << - k.decl<input_type>("next_idx") << " = " << input_idx[k.var<uint_>("idx")] << ";\n" << + k.decl<uint_>("next_idx") << " = " << input_idx[k.var<uint_>("idx")] << ";\n" << "#endif\n" << // Comparison between currently best element (acc) and next element |