Fixed minor documentation error with thrust::minus
The output that the documentation stated should result from the example code was incorrect, and was the output that would have resulted if the arguments to thrust::transform were inverted.
Bug
git-commit
git-author Tim Dunn
Jobs:
[git-p4: depot-paths = "//sw/gpgpu/thrust/": change = 24246590]
MODIFY
thrust/functional.h
thrust/functional.h
@@ -223,7 +223,7 @@ struct plus
*
* thrust::transform(V1.begin(), V1.end(), V2.begin(), V3.begin(),
* thrust::minus<float>());
- * // V3 is now {-74, -75, -76, ..., -925}
+ * // V3 is now {-74, -73, -72, ..., 925}
* \endcode
*
* \see http://www.sgi.com/tech/stl/minus.html

Fixed minor documentation error with thrust::minus

The output that the documentation stated should result from the example code was incorrect, and was the output that would have resulted if the arguments to thrust::transform were inverted.

Bug 1865408
git-commit 7f46c988416d6d132f6a6dce3ee5027461ff8028
git-author Tim Dunn <tim510@users.noreply.github.com>

Jobs: 1865408-2006
[git-p4: depot-paths = "//sw/gpgpu/thrust/": change = 24246590]