Skip to content

Commit

Permalink
fix: fixed syntax in OpenMP code (#48)
Browse files Browse the repository at this point in the history
* fix: Fixed syntax errors and the use of objects in OpenMP

* fix: add std::move

* fix: fixed syntax in OpenMP code
  • Loading branch information
LevDenisov authored Oct 23, 2023
1 parent 0fd2cfa commit d2ed661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/deplex/src/deplex/utils/depth_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Eigen::MatrixX3f DepthImage::toPointCloud(Eigen::Matrix3f const& intrinsics) con
typedef std::remove_reference<decltype(*image_)>::type t_image;
pcd_points.col(2) = Eigen::Map<Eigen::Vector<t_image, Eigen::Dynamic>>(image_.get(), width_ * height_).cast<float>();

#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
{
Expand Down

0 comments on commit d2ed661

Please sign in to comment.