diff --git a/cpp/deplex/src/deplex/utils/depth_image.cpp b/cpp/deplex/src/deplex/utils/depth_image.cpp index a6ec278..25953a9 100644 --- a/cpp/deplex/src/deplex/utils/depth_image.cpp +++ b/cpp/deplex/src/deplex/utils/depth_image.cpp @@ -63,7 +63,7 @@ Eigen::MatrixX3f DepthImage::toPointCloud(Eigen::Matrix3f const& intrinsics) con typedef std::remove_reference::type t_image; pcd_points.col(2) = Eigen::Map>(image_.get(), width_ * height_).cast(); -#pragma omp parallel default(none) shared(pcd_points, column_indices, row_indices, cx, cy, fx, fy) +#pragma omp parallel default(none) shared(pcd_points, column_indices_, row_indices_, cx, cy, fx, fy) { #pragma omp sections {