$OpenBSD$

Index: src/aliceVision/geometry/rigidTransformation3D.cpp
--- src/aliceVision/geometry/rigidTransformation3D.cpp.orig
+++ src/aliceVision/geometry/rigidTransformation3D.cpp
@@ -28,7 +28,7 @@ int lm_SRTRefine_functor::operator()(const Vec &x, Vec
 
   const Mat3 nR  = _R*Rcor;
   const Vec3 nt = _t+transAdd;
-  const double nS = _S+Sadd;
+  const double nS = _Scale+Sadd;
 
   // Evaluate re-projection errors
   Vec3 proj;
@@ -56,7 +56,7 @@ int lm_RRefine_functor::operator()(const Vec &x, Vec &
 
   const Mat3 nR  = _R*Rcor;
   const Vec3 nt = _t;
-  const double nS = _S;
+  const double nS = _Scale;
 
   // Evaluate re-projection errors
   Vec3 proj;
