diff options
Diffstat (limited to 'extern/libmv/third_party/ceres/include/ceres/cost_function.h')
-rw-r--r-- | extern/libmv/third_party/ceres/include/ceres/cost_function.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extern/libmv/third_party/ceres/include/ceres/cost_function.h b/extern/libmv/third_party/ceres/include/ceres/cost_function.h index fee3e73c111..fe8fc07d2ce 100644 --- a/extern/libmv/third_party/ceres/include/ceres/cost_function.h +++ b/extern/libmv/third_party/ceres/include/ceres/cost_function.h @@ -48,6 +48,7 @@ #include "ceres/internal/macros.h" #include "ceres/internal/port.h" #include "ceres/types.h" +#include "ceres/internal/disable_warnings.h" namespace ceres { @@ -105,8 +106,7 @@ class CERES_EXPORT CostFunction { // the constraints, then returning false whenever the constraints // are not satisfied will prevent the solver from moving into the // infeasible region. This is not a very sophisticated mechanism for - // enforcing constraints, but is often good enough for things like - // non-negativity constraints. + // enforcing constraints, but is often good enough. // // Note that it is important that the initial values of the // parameter block must be feasible, otherwise the solver will @@ -142,4 +142,6 @@ class CERES_EXPORT CostFunction { } // namespace ceres +#include "ceres/internal/reenable_warnings.h" + #endif // CERES_PUBLIC_COST_FUNCTION_H_ |