Libmv: Correction to previous commit

We do need to make a copy of the values.
This commit is contained in:
Sergey Sharybin
2017-04-07 17:57:48 +02:00
parent a1f8755d32
commit 8e0cdfd0c9

View File

@@ -209,8 +209,10 @@ class HomographySymmetricGeometricCostFunctor {
return true; return true;
} }
const Vec2 &x_; EIGEN_MAKE_ALIGNED_OPERATOR_NEW
const Vec2 &y_;
const Vec2 x_;
const Vec2 y_;
}; };
// Termination checking callback used for homography estimation. // Termination checking callback used for homography estimation.