Libmv: Fix crash of keyframe selection on 32bit linux
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 7 Apr 2017 15:10:44 +0000 (17:10 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 7 Apr 2017 15:10:44 +0000 (17:10 +0200)
intern/libmv/libmv/multiview/homography.cc

index ce533a3ead21d635655c40f2b4191f9d324ddb17..a7679c33bbf24c10d511b3d35f09c3bd4dfe30db 100644 (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.