mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Documentation fixes
Thanks for Stephan Wirth. Change-Id: I1dc3c0ab15d97888fdfaa3814d80a3c529665731
This commit is contained in:
@@ -193,7 +193,7 @@ Which is added to the :class:`Problem` as:
|
||||
.. code-block:: c++
|
||||
|
||||
CostFunction* cost_function =
|
||||
new NumericDiffCostFunction<F4, ceres::CENTRAL, 1, 1, 1>(
|
||||
new NumericDiffCostFunction<NumericDiffCostFunctor, ceres::CENTRAL, 1, 1, 1>(
|
||||
new NumericDiffCostFunctor)
|
||||
problem.AddResidualBlock(cost_function, NULL, &x);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user