From 1cc388154d960b4935ea1c91d883eaf45b07f256 Mon Sep 17 00:00:00 2001 From: Lilo Huang Date: Wed, 7 Jul 2021 23:09:07 +0800 Subject: [PATCH] Remove dead code from expand.cu --- examples/expand.cu | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/expand.cu b/examples/expand.cu index 4547bcd13..f61edec8f 100644 --- a/examples/expand.cu +++ b/examples/expand.cu @@ -51,7 +51,6 @@ OutputIterator expand(InputIterator1 first1, thrust::maximum()); // gather input values according to index array (output = first2[output_indices]) - OutputIterator output_end = output; thrust::advance(output_end, output_size); thrust::gather(output_indices.begin(), output_indices.end(), first2,