asherliu / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

copy_if_intervals applies min wrongly #348

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
copy_if_intervals uses a bare call to min [1] which is confused with all the 
other things potentially called min.  We need to #include 
<thrust/detail/minmax.h> and use thrust::min.

[1] 
http://code.google.com/p/thrust/source/browse/thrust/detail/backend/cuda/copy_if
.inl#71

Original issue reported on code.google.com by jaredhoberock on 12 Jul 2011 at 6:06

GoogleCodeExporter commented 8 years ago
This issue was closed by revision f0f21b8b8bfd.

Original comment by jaredhoberock on 12 Jul 2011 at 8:51