提交 a2b347bb 编写于 作者: S Sergey Alexandrov

Merge pull request #559 from tomazas/master

Change non-standard logical OR comparison of Pascal type syntax to C (closes #558)
......@@ -342,7 +342,7 @@ pcl::DinastGrabber::getXYZIPointCloud ()
// Get rid of the noise
if(cloud->points[depth_idx].z > 0.8f or cloud->points[depth_idx].z < 0.02f)
if(cloud->points[depth_idx].z > 0.8f || cloud->points[depth_idx].z < 0.02f)
{
cloud->points[depth_idx].x = std::numeric_limits<float>::quiet_NaN ();
cloud->points[depth_idx].y = std::numeric_limits<float>::quiet_NaN ();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册