Sameer Agarwal 1b17145adf Make canned loss functions more robust.
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
2014-07-30 10:14:15 -07:00
2014-07-07 22:08:24 +01:00
2013-06-24 14:28:40 -07:00
2014-07-07 11:11:55 -07:00
2014-05-27 11:39:07 -07:00
2013-02-24 19:04:21 +00:00
2012-04-30 23:09:08 -07:00
2013-02-15 14:29:51 -08:00

Ceres Solver - A non-linear least squares minimizer
==================================================
Please see docs/html/index.html for a tutorial and reference.
S
Description
No description provided
Readme Multiple Licenses 42 MiB
Languages
C++ 94.4%
CMake 3.8%
Python 0.8%
C 0.5%
Starlark 0.4%