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:
Sameer Agarwal
2022-03-12 15:22:19 -08:00
parent d3612c12c0
commit 4705159858
109 changed files with 113 additions and 3 deletions
+2
View File
@@ -30,6 +30,8 @@
#include "ceres/wall_time.h"
#include "ceres/internal/config.h"
#ifdef CERES_USE_OPENMP
#include <omp.h>
#else