Fix the docs for Problem::RemoveResidualBlock & Problem::RemoveParameterBlock

The documentation was out of date about how memory management is
done in Problem.

https://github.com/ceres-solver/ceres-solver/issues/699

Change-Id: Ie55027796bc372cdcbaaca2bf2c93643c303a8e5
This commit is contained in:
Sameer Agarwal
2021-09-22 17:06:19 -07:00
parent 06e02a1735
commit d2852518d6
2 changed files with 27 additions and 19 deletions
+2 -2
View File
@@ -165,8 +165,8 @@ follows [#f2]_.
And finally, if you would rather compute the derivatives by hand (say
because the size of the parameter vector is too large to be
automatically differentiated). Then you should define an instance of
``FirstOrderFunction``, which is the analog of :class:`CostFunction`
for non-linear least squares problems [#f3]_.
`FirstOrderFunction`, which is the analog of :class:`CostFunction` for
non-linear least squares problems [#f3]_.
.. code::