From 8e0cdfd0c916e30b1496d0632e824042e9406cd5 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 7 Apr 2017 17:57:48 +0200 Subject: Libmv: Correction to previous commit We do need to make a copy of the values. --- intern/libmv/libmv/multiview/homography.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'intern/libmv') diff --git a/intern/libmv/libmv/multiview/homography.cc b/intern/libmv/libmv/multiview/homography.cc index a7679c33bbf..69177743f94 100644 --- a/intern/libmv/libmv/multiview/homography.cc +++ b/intern/libmv/libmv/multiview/homography.cc @@ -209,8 +209,10 @@ class HomographySymmetricGeometricCostFunctor { return true; } - const Vec2 &x_; - const Vec2 &y_; + EIGEN_MAKE_ALIGNED_OPERATOR_NEW + + const Vec2 x_; + const Vec2 y_; }; // Termination checking callback used for homography estimation. -- cgit v1.2.3