diff --git a/include/core/ceres_wrapper/solver_ceres.h b/include/core/ceres_wrapper/solver_ceres.h
index bb0e117c78eb1037e1989d10f2ad7a583ad395db..ccb51c65e1d58a22dfcee67455dc50bf2d753ed6 100644
--- a/include/core/ceres_wrapper/solver_ceres.h
+++ b/include/core/ceres_wrapper/solver_ceres.h
@@ -117,14 +117,6 @@ struct ParamsCeres : public ParamsSolver
         problem_options.loss_function_ownership = ceres::TAKE_OWNERSHIP;
         problem_options.local_parameterization_ownership = ceres::DO_NOT_TAKE_OWNERSHIP;
 
-        #if CERES_VERSION_MINOR >= 13
-            covariance_options.algorithm_type = ceres::SPARSE_QR;//ceres::DENSE_SVD;
-            covariance_options.sparse_linear_algebra_library_type = ceres::SUITE_SPARSE;
-        #elif CERES_VERSION_MINOR >= 10
-            covariance_options.algorithm_type = ceres::SUITE_SPARSE_QR;//ceres::DENSE_SVD;
-        #else
-            covariance_options.algorithm_type = ceres::SPARSE_QR;//ceres::DENSE_SVD;
-        #endif
         covariance_options.apply_loss_function = false;
     }