mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
1b17145adf6aa0072db2989ad799e90313970ab3
The loss functions that ship with ceres can sometimes generate a zero first derivative if the residual is too large. In such cases Corrector fails with an ugly undebuggable crash. This CL is the first in a series of fixes to take care of this. We clamp the values of rho' from below by numeric_limits<double>::min(). Also included here is some minor cleanup where the constants are treated as doubles rather than integers. Thanks to Pierre Moulon for reporting this problem. Change-Id: I3aaf375303ecc2659bbf6fb56a812e7dc3a41106
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%