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.
This commit is contained in:
Sergey Sharybin 2015-03-06 14:58:16 +05:00
parent f682129d62
commit 3f572fe7d2
Notes: blender-bot 2023-10-12 12:49:04 +02:00
Referenced by issue #43905, Crash happens when press Create Plane Track
1 changed files with 2 additions and 2 deletions

View File

@ -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.