mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
324eccb5f6ce2a1a0061ec9f3c40778a029a2d97
Calling Problem::Evaluate mutates the state of the parameter blocks. In particular, depending on the set and order of parameter blocks passed to the evaluate call, it will change the internal indexing used by the Program object used by ProblemImpl. This needs to be undone before Evaluate returns, otherwise the Problem object is in an invalid state. To help with testing and debugging in the future, a new method Program::IsValid has been added which checks whether the problem has its parameter and residual blocks in the right state. Thanks to Stefan Leutenegger for reporting this. Change-Id: I209b486a31433f0cbb58b570047649eca6d42b56
Ceres Solver - A non-linear least squares minimizer ================================================== Please see docs/html/index.html for a tutorial and reference.
Description
Languages
C++
94.4%
CMake
3.8%
Python
0.8%
C
0.5%
Starlark
0.4%