Recheck the residual after a new call. When Jacobian is needed, a different function is called internally. Thus we have to recheck the residual. Change-Id: I83044b3668479fc21b6612662271e872addf6f48
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.
Please see ceres-solver.org for more information.