File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
modules/sfm/src/libmv_light/libmv/simple_pipeline Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -430,7 +430,10 @@ void EuclideanBundlePointsOnly(const DistortionModelType distortion_model,
430
430
431
431
#ifdef _OPENMP
432
432
options.num_threads = omp_get_max_threads ();
433
+ #if CERES_VERSION_MAJOR <= 1 && CERES_VERSION_MINOR <= 13
434
+ // deprecated since Ceres 1.14.0
433
435
options.num_linear_solver_threads = omp_get_max_threads ();
436
+ #endif
434
437
#endif
435
438
436
439
// Solve!
@@ -600,7 +603,10 @@ void EuclideanBundleCommonIntrinsics(
600
603
601
604
#ifdef _OPENMP
602
605
options.num_threads = omp_get_max_threads ();
606
+ #if CERES_VERSION_MAJOR <= 1 && CERES_VERSION_MINOR <= 13
607
+ // deprecated since Ceres 1.14.0
603
608
options.num_linear_solver_threads = omp_get_max_threads ();
609
+ #endif
604
610
#endif
605
611
606
612
// Solve!
You can’t perform that action at this time.
0 commit comments