Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Fix bug in permutation_iterator example.
Browse files Browse the repository at this point in the history
Fixes #1660.
  • Loading branch information
alliepiper authored Apr 15, 2022
1 parent ef65673 commit 25547a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thrust/iterator/permutation_iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ THRUST_NAMESPACE_BEGIN
* #include <thrust/iterator/permutation_iterator.h>
* #include <thrust/device_vector.h>
* ...
* thrust::device_vector<float> values(4);
* thrust::device_vector<float> values(8);
* values[0] = 10.0f;
* values[1] = 20.0f;
* values[2] = 30.0f;
Expand Down

0 comments on commit 25547a4

Please sign in to comment.