From f2b6da959300acc1d0199cf3a922dae0844f7a03 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Mon, 17 Aug 2015 11:53:28 +0200 Subject: [PATCH] Fix THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS see: https://buildd.debian.org/status/fetch.php?pkg=pcl&arch=ppc64el&ver=1.7.2-8&stamp=1438282347 Thanks to ChriSopht in #eigen --- apps/in_hand_scanner/src/icp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/in_hand_scanner/src/icp.cpp b/apps/in_hand_scanner/src/icp.cpp index fcbd45c420f..6bbfad3b72b 100644 --- a/apps/in_hand_scanner/src/icp.cpp +++ b/apps/in_hand_scanner/src/icp.cpp @@ -382,7 +382,7 @@ pcl::ihs::ICP::selectModelPoints (const MeshConstPtr& mesh_model, for (Mesh::VertexDataCloud::const_iterator it=cloud.begin (); it!=cloud.end (); ++it) { // Don't consider points that are facing away from the camera. - if ((T_inv * it->getNormalVector4fMap ()).z () < 0.f) + if ((T_inv.lazyProduct (it->getNormalVector4fMap ())).z () < 0.f) { PointNormal pt; pt.getVector4fMap () = it->getVector4fMap ();