diff --git a/thrust/thrust/logical.h b/thrust/thrust/logical.h index 747af38554e..e10b352f7d5 100644 --- a/thrust/thrust/logical.h +++ b/thrust/thrust/logical.h @@ -69,7 +69,7 @@ THRUST_NAMESPACE_BEGIN * thrust::all_of(thrust::host, A, A + 3, thrust::identity()); // returns false * * // empty range - * thrust::all_of(thrust::host, A, A, thrust::identity()); // returns false + * thrust::all_of(thrust::host, A, A, thrust::identity()); // returns true * * \endcode * @@ -108,7 +108,7 @@ all_of(const thrust::detail::execution_policy_base& exec, * thrust::all_of(A, A + 3, thrust::identity()); // returns false * * // empty range - * thrust::all_of(A, A, thrust::identity()); // returns false + * thrust::all_of(A, A, thrust::identity()); // returns true * * \endcode *