diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-03-06 12:58:16 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-03-06 12:58:16 +0300 |
commit | 3f572fe7d25032a37770e71bda20eb6c4cd23a8b (patch) | |
tree | 9cc39b1d8f27c2c67bb6480aa8b822c78efe2db9 | |
parent | f682129d62f0c43b0ff0027848c1825853674268 (diff) |
Fix T43905: Crash happens when press Create Plane Track
It was only happening on 32bit platforms because of alignment
differences when allocating class.
Now got rid of copy of eigen matricies stored by value in the
residual block which solves aligment issues and should also
give some unmeasurable speedup.
-rw-r--r-- | extern/libmv/libmv/multiview/homography.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extern/libmv/libmv/multiview/homography.cc b/extern/libmv/libmv/multiview/homography.cc index ce533a3ead2..a7679c33bbf 100644 --- a/extern/libmv/libmv/multiview/homography.cc +++ b/extern/libmv/libmv/multiview/homography.cc @@ -209,8 +209,8 @@ class HomographySymmetricGeometricCostFunctor { return true; } - const Vec2 x_; - const Vec2 y_; + const Vec2 &x_; + const Vec2 &y_; }; // Termination checking callback used for homography estimation. |