&foo[0] -> foo.data() Use the more modern form of accessing the data array of a vector rather than grabbing the pointer to the first element. The latter can lead to errors if the vector is of zero length. Change-Id: Ifc8fc969b06b3ba1a9385e8a3a8d5c50b25db5a8
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.