mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Deprecate LocalParameterizations
Add [[deprecate]] notices to everything LocalParameterization related. Make sure that Ceres can be compiled without triggering deprecation warnings. Update the documentation: a. Add deprecation notices. b. Document interaction between LocalParameterization and Manifold coexisting in the Problem. c. Add documentation for Manifold(s) Change-Id: Ie4ad48963c83fded86e533c8c60561af402fbaff
This commit is contained in:
@@ -80,10 +80,14 @@ class CERES_EXPORT GradientChecker {
|
||||
// NOTE: This constructor is deprecated and will be removed in the next public
|
||||
// release of Ceres Solver. Please transition to using the Manifold based
|
||||
// version.
|
||||
GradientChecker(
|
||||
const CostFunction* function,
|
||||
const std::vector<const LocalParameterization*>* local_parameterizations,
|
||||
const NumericDiffOptions& options);
|
||||
[[deprecated(
|
||||
"Local Parameterizations are deprecated. Use the constructor that uses "
|
||||
"Manifolds instead.")]] GradientChecker(const CostFunction* function,
|
||||
const std::vector<
|
||||
const LocalParameterization*>*
|
||||
local_parameterizations,
|
||||
const NumericDiffOptions&
|
||||
options);
|
||||
|
||||
// This will not take ownership of the cost function or manifolds.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user