commit | 515639e14b70bc1091b22758497338ccc65adfbd | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Wed Aug 08 06:55:04 2018 -0700 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Wed Aug 08 06:58:06 2018 -0700 |
tree | de3bfe976ef5aaf048ed78ce40961477479325da | |
parent | e6f7a75fdc94c9d1f4cfa0fe0ee4cc88a3fccf6e [diff] |
Add missing ceres/internal/port.h to two header files. Without these these files cannot be included on their own. https://github.com/ceres-solver/ceres-solver/issues/410 Change-Id: I87ca91d15f5ab2053e43480ecbde74779125c709
diff --git a/include/ceres/evaluation_callback.h b/include/ceres/evaluation_callback.h index 46a42af..a0a8601 100644 --- a/include/ceres/evaluation_callback.h +++ b/include/ceres/evaluation_callback.h
@@ -31,6 +31,8 @@ #ifndef CERES_PUBLIC_EVALUATION_CALLBACK_H_ #define CERES_PUBLIC_EVALUATION_CALLBACK_H_ +#include "ceres/internal/port.h" + namespace ceres { // Using this callback interface, Ceres can notify you when it is about to
diff --git a/include/ceres/numeric_diff_options.h b/include/ceres/numeric_diff_options.h index 3356be9..a77be44 100644 --- a/include/ceres/numeric_diff_options.h +++ b/include/ceres/numeric_diff_options.h
@@ -32,6 +32,8 @@ #ifndef CERES_PUBLIC_NUMERIC_DIFF_OPTIONS_H_ #define CERES_PUBLIC_NUMERIC_DIFF_OPTIONS_H_ +#include "ceres/internal/port.h" + namespace ceres { // Options pertaining to numeric differentiation (e.g., convergence criteria,