Commit f435b667 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #1912 from huangqinjin:ceres

parents f0ecc092 35da4399
......@@ -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