We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce483aa + 1cc3881 commit 3889d9aCopy full SHA for 3889d9a
examples/expand.cu
@@ -51,7 +51,6 @@ OutputIterator expand(InputIterator1 first1,
51
thrust::maximum<difference_type>());
52
53
// gather input values according to index array (output = first2[output_indices])
54
- OutputIterator output_end = output; thrust::advance(output_end, output_size);
55
thrust::gather(output_indices.begin(),
56
output_indices.end(),
57
first2,
0 commit comments