commit | f802a09ff12f79a3daaded70eaea2b033c0ce01f | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Thu Aug 25 10:00:12 2022 +0530 |
committer | Sameer Agarwal <sameeragarwal@google.com> | Thu Aug 25 10:00:12 2022 +0530 |
tree | 83fb4b62b9e8386bf160e6d704a13e919e25cc47 | |
parent | 344929647a7ab3df6b60bce803af6db4c1a4c186 [diff] |
&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.