Commit 35da4399 authored by huangqinjin's avatar huangqinjin

num_linear_solver_threads has been deprecated since Ceres 1.14.0

parent f0ecc092
......@@ -430,7 +430,10 @@ void EuclideanBundlePointsOnly(const DistortionModelType distortion_model,
#ifdef _OPENMP
options.num_threads = omp_get_max_threads();
#if CERES_VERSION_MAJOR <= 1 && CERES_VERSION_MINOR <= 13
// deprecated since Ceres 1.14.0
options.num_linear_solver_threads = omp_get_max_threads();
#endif
#endif
// Solve!
......@@ -600,7 +603,10 @@ void EuclideanBundleCommonIntrinsics(
#ifdef _OPENMP
options.num_threads = omp_get_max_threads();
#if CERES_VERSION_MAJOR <= 1 && CERES_VERSION_MINOR <= 13
// deprecated since Ceres 1.14.0
options.num_linear_solver_threads = omp_get_max_threads();
#endif
#endif
// Solve!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment