mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Add missing includes for config.h
covariance.h was using SUITE_SPARSE even when SUITESPARSE was disabled because it did not have config.h included in it so it did not see that CERES_NO_SUITESPARSE was defined. Add more config.h includes to files that are using these configuration macros. Change-Id: I6b1d2c2bd9e559de40a6332cd6be85ad4da3377b
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
|
||||
#include "ceres/wall_time.h"
|
||||
|
||||
#include "ceres/internal/config.h"
|
||||
|
||||
#ifdef CERES_USE_OPENMP
|
||||
#include <omp.h>
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user