mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
8904fa4887
Inlining the Jet initialzation is mandatory for good performance in autodiff, because all the constants in the dual part can be propagated into the cost functor. This patch unrolls the initialization loop with templates and adds EIGEN_ALWAYS_INLINE to the constructors. Change-Id: Ic89d645984f3e1df6c63948236da823ba60d9620