$OpenBSD$

Index: src/aliceVision/linearProgramming/lInfinityCV/lInftyCV_triangulation_test.cpp
--- src/aliceVision/linearProgramming/lInfinityCV/lInftyCV_triangulation_test.cpp.orig
+++ src/aliceVision/linearProgramming/lInfinityCV/lInftyCV_triangulation_test.cpp
@@ -41,7 +41,7 @@ BOOST_AUTO_TEST_CASE(lInfinityCV_Triangulation_OSICLPS
   d.ExportToPLY("test_Before_Infinity_Triangulation_OSICLP.ply");
   //-- Test triangulation of all the point
   NViewDataSet d2 = d;
-  d2._X.fill(0); //Set _Xi of dataset 2 to 0 to be sure of new data computation
+  d2._Xpoints.fill(0); //Set _Xi of dataset 2 to 0 to be sure of new data computation
 
   for (int i = 0; i < d._n; ++i)
     vec_Pi.push_back(d.P(i));
@@ -69,7 +69,7 @@ BOOST_AUTO_TEST_CASE(lInfinityCV_Triangulation_OSICLPS
     );
 
     Vec3 XSolution(vec_solution[0], vec_solution[1], vec_solution[2]);
-    d2._X.col(k) = XSolution.transpose();
+    d2._Xpoints.col(k) = XSolution.transpose();
 
     // Compute residuals L2 from estimated parameter values :
     const Vec3 & X = XSolution;
@@ -81,7 +81,7 @@ BOOST_AUTO_TEST_CASE(lInfinityCV_Triangulation_OSICLPS
     double dResidual2D = (xsum.array().sqrt().sum());
 
     // Residual LInfinity between GT 3D point and found one
-    double dResidual3D = DistanceLInfinity(XSolution, Vec3(d._X.col(k)));
+    double dResidual3D = DistanceLInfinity(XSolution, Vec3(d._Xpoints.col(k)));
 
     // Check that 2D re-projection and 3D point are near to GT.
     BOOST_CHECK_SMALL(dResidual2D, 1e-5);
@@ -101,7 +101,7 @@ BOOST_AUTO_TEST_CASE(computervision_Triangulation_MOSE
   d.ExportToPLY("test_Before_Infinity_Triangulation_MOSEK.ply");
   //-- Test triangulation of all the point
   NViewDataSet d2 = d;
-  d2._X.fill(0); //Set _Xi of dataset 2 to 0 to be sure of new data computation
+  d2._Xpoints.fill(0); //Set _Xi of dataset 2 to 0 to be sure of new data computation
 
   for (int i = 0; i < d._n; ++i)
     vec_Pi.push_back(d.P(i));
@@ -129,7 +129,7 @@ BOOST_AUTO_TEST_CASE(computervision_Triangulation_MOSE
     );
 
     Vec3 XSolution(vec_solution[0], vec_solution[1], vec_solution[2]);
-    d2._X.col(k) = XSolution.transpose();
+    d2._Xpoints.col(k) = XSolution.transpose();
 
     // Compute residuals L2 from estimated parameter values :
     const Vec3 & X = XSolution;
@@ -141,7 +141,7 @@ BOOST_AUTO_TEST_CASE(computervision_Triangulation_MOSE
     double dResidual2D = (xsum.array().sqrt().sum());
 
     // Residual LInfinity between GT 3D point and found one
-    double dResidual3D = DistanceLInfinity(XSolution, Vec3(d._X.col(k)));
+    double dResidual3D = DistanceLInfinity(XSolution, Vec3(d._Xpoints.col(k)));
 
     // Check that 2D re-projection and 3D point are near to GT.
     BOOST_CHECK_SMALL(dResidual2D, 1e-5);
