Fix operator() signature in several sections of the documentation Change-Id: I73f9d150a738f7b136fbc1f98fc60b0f306bd7f9
diff --git a/include/ceres/numeric_diff_functor.h b/include/ceres/numeric_diff_functor.h index 593c371..039e1a1 100644 --- a/include/ceres/numeric_diff_functor.h +++ b/include/ceres/numeric_diff_functor.h
@@ -71,11 +71,11 @@ // } // // template <typename T> -// bool operator(const T* rotation, -// const T* translation, -// const T* intrinsics, -// const T* point, -// T* residuals) const { +// bool operator()(const T* rotation, +// const T* translation, +// const T* intrinsics, +// const T* point, +// T* residuals) const { // T transformed_point[3]; // RotateAndTranslatePoint(rotation, translation, point, transformed_point); // return (*intrinsic_projection_)(intrinsics, transformed_point, residual);