↓ 3 callersFunctionEvaluateTODO(sameeragarwal): I think there is a small bug here, in that if the evaluation fails, then the state can contain garbage. Look at this more careful
VINS_ThirdPartyLib/ceres-solver/internal/ceres/line_search_minimizer.cc:69