[pcl] 01/02: Add patch for Eigen build error

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Sat Oct 10 07:36:30 UTC 2015


This is an automated email from the git hooks/post-receive script.

jspricke-guest pushed a commit to branch master
in repository pcl.

commit daa07c3310417da31f8397c5934ddbc44a15d886
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Sat Oct 10 08:50:21 2015 +0200

    Add patch for Eigen build error
---
 ..._METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch b/debian/patches/0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch
new file mode 100644
index 0000000..34e5239
--- /dev/null
+++ b/debian/patches/0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch
@@ -0,0 +1,21 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Sat, 10 Oct 2015 08:47:01 +0200
+Subject: Fix THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS
+
+---
+ registration/include/pcl/registration/impl/ppf_registration.hpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/registration/include/pcl/registration/impl/ppf_registration.hpp b/registration/include/pcl/registration/impl/ppf_registration.hpp
+index fc752a4..2203862 100644
+--- a/registration/include/pcl/registration/impl/ppf_registration.hpp
++++ b/registration/include/pcl/registration/impl/ppf_registration.hpp
+@@ -317,7 +317,7 @@ pcl::PPFRegistration<PointSource, PointTarget>::posesWithinErrorBounds (Eigen::A
+                                                                         Eigen::Affine3f &pose2)
+ {
+   float position_diff = (pose1.translation () - pose2.translation ()).norm ();
+-  Eigen::AngleAxisf rotation_diff_mat (pose1.rotation ().inverse () * pose2.rotation ());
++  Eigen::AngleAxisf rotation_diff_mat (pose1.rotation ().inverse ().lazyProduct (pose2.rotation ()));
+ 
+   float rotation_diff_angle = fabsf (rotation_diff_mat.angle ());
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 2a57aa7..ccc1c73 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
 0007-Fix-for-boost-1.57.patch
 0008-Fixes-manual_registration-and-segmentation-demo-for-.patch
 0009-Fix-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch
+0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pcl.git



More information about the debian-science-commits mailing list