diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-07 18:57:48 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-04-07 18:57:48 +0300 |
commit | 8e0cdfd0c916e30b1496d0632e824042e9406cd5 (patch) | |
tree | 0c9c5352ee33880a22db3051baf9c781de181fd9 /intern | |
parent | a1f8755d32d547190f781fa162a80fbd210b9671 (diff) |
Libmv: Correction to previous commit
We do need to make a copy of the values.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/libmv/libmv/multiview/homography.cc | 6 |
1 files changed, 4 insertions, 2 deletions
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. |