From 51212b82e2b6c7fe9b191c1c38bd5a5b88a3c6b3 Mon Sep 17 00:00:00 2001 From: Lev Denisov Date: Mon, 23 Oct 2023 23:40:50 +0300 Subject: [PATCH] fix: fixed syntax in OpenMP code --- cpp/deplex/src/deplex/utils/depth_image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {