diff --git a/docs/source/nnls_solving.rst b/docs/source/nnls_solving.rst index 56b3ab965..4dd17ecfd 100644 --- a/docs/source/nnls_solving.rst +++ b/docs/source/nnls_solving.rst @@ -2045,10 +2045,18 @@ The three arrays will be: Time (in seconds) spent evaluating the residual vector. +.. member:: int Solver::Summary::num_residual_evaluations + + Number of times only the residuals were evaluated. + .. member:: double Solver::Summary::jacobian_evaluation_time_in_seconds Time (in seconds) spent evaluating the Jacobian matrix. +.. member:: int Solver::Summary::num_jacobian_evaluations + + Number of times only the Jacobian and the residuals were evaluated. + .. member:: double Solver::Summary::inner_iteration_time_in_seconds Time (in seconds) spent doing inner iterations. diff --git a/include/ceres/autodiff_cost_function.h b/include/ceres/autodiff_cost_function.h index e7893e482..490fb3dd0 100644 --- a/include/ceres/autodiff_cost_function.h +++ b/include/ceres/autodiff_cost_function.h @@ -197,7 +197,7 @@ class AutoDiffCostFunction : public SizedCostFunction