Use if constexpr and map SparseMatrix as const Change-Id: Id72d77ef91d2bfc1055ab67b604f26ebc0d65769
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.