@@ -89,7 +89,7 @@ void pcl::device::compute3DCentroid(const DeviceArray<PointT>& cloud, float3& ce
8989 thrust::device_ptr<PointT> src_beg ((PointT*)cloud.ptr ());
9090 thrust::device_ptr<PointT> src_end = src_beg + cloud.size ();
9191
92- centroid = transform_reduce (src_beg, src_beg, PointT2float3<PointT>(), make_float3 (0 .f , 0 .f , 0 .f ), PlusFloat3 ());
92+ centroid = thrust:: transform_reduce (src_beg, src_beg, PointT2float3<PointT>(), make_float3 (0 .f , 0 .f , 0 .f ), PlusFloat3 ());
9393 centroid *= 1 .f /cloud.size ();
9494}
9595
@@ -105,7 +105,7 @@ void pcl::device::compute3DCentroid(const DeviceArray<PointT>& cloud, const Indi
105105 thrust::device_ptr<int > map_end = map_beg + indices.size ();
106106
107107
108- centroid = transform_reduce (make_permutation_iterator (src_beg, map_beg),
108+ centroid = thrust:: transform_reduce (make_permutation_iterator (src_beg, map_beg),
109109 make_permutation_iterator (src_beg, map_end),
110110 PointT2float3<PointT>(), make_float3 (0 .f , 0 .f , 0 .f ), PlusFloat3 ());
111111
@@ -126,7 +126,7 @@ float3 pcl::device::getMaxDistance(const DeviceArray<PointT>& cloud, const float
126126 thrust::maximum<thrust::tuple<float , int >> op;
127127
128128 thrust::tuple<float , int > res =
129- transform_reduce (
129+ thrust:: transform_reduce (
130130 make_zip_iterator (make_tuple ( src_beg, cf )),
131131 make_zip_iterator (make_tuple ( src_beg, ce )),
132132 TupleDistCvt (pivot), init, op);
@@ -153,7 +153,7 @@ float3 pcl::device::getMaxDistance(const DeviceArray<PointT>& cloud, const Indic
153153 thrust::tuple<float , int > init (0 .f , 0 );
154154 thrust::maximum<thrust::tuple<float , int >> op;
155155
156- thrust::tuple<float , int > res = transform_reduce (
156+ thrust::tuple<float , int > res = thrust:: transform_reduce (
157157 make_zip_iterator (make_tuple ( make_permutation_iterator (src_beg, map_beg), cf )),
158158 make_zip_iterator (make_tuple ( make_permutation_iterator (src_beg, map_end), ce )),
159159 TupleDistCvt (pivot), init, op);
0 commit comments