Fix a bug in DynamicAutoDiffCostFunction DynamicAutoDiffCostFunction::Evaluate when provided with a jacobians array that was non-empty but all its entries are nullptr, would compute num_active_parameters = 0, and then skip over all the loops that evaluated the CostFunctor. The fix is to check if num_active_parameters == 0, and then treat it as the case where jacobians array is null. Thanks to Ky Waegel for reporting and providing a reproduction for this. Change-Id: Ib86930c2c3f722724d249f662bf88238679bbf98
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.