Fix ceres manifold build

pull/3274/head
jmackay2 3 years ago
parent 0eda296f40
commit e182fc8675
  1. 2
      modules/sfm/src/libmv_light/libmv/simple_pipeline/bundle.cc

@ -549,7 +549,7 @@ void EuclideanBundleCommonIntrinsics(
if (bundle_constraints & BUNDLE_NO_TRANSLATION) { if (bundle_constraints & BUNDLE_NO_TRANSLATION) {
#if CERES_VERSION_MAJOR >= 3 || (CERES_VERSION_MAJOR >= 2 && CERES_VERSION_MINOR >= 1) #if CERES_VERSION_MAJOR >= 3 || (CERES_VERSION_MAJOR >= 2 && CERES_VERSION_MINOR >= 1)
problem.SetParameterization(current_camera_R_t, problem.SetManifold(current_camera_R_t,
constant_translation_manifold); constant_translation_manifold);
#else #else
problem.SetParameterization(current_camera_R_t, problem.SetParameterization(current_camera_R_t,

Loading…
Cancel
Save