From bef0dfe355bf62c60b7f38ab93af3e895a4affb1 Mon Sep 17 00:00:00 2001 From: Sameer Agarwal Date: Sat, 2 Mar 2019 23:06:28 -0800 Subject: [PATCH] Fix a typo in cubic_interpolation.h https://github.com/ceres-solver/ceres-solver/issues/439 Change-Id: Ib8c5b2511dd8b162784f387f1624d8568b3a57df --- include/ceres/cubic_interpolation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ceres/cubic_interpolation.h b/include/ceres/cubic_interpolation.h index a26697bd9..4ff868a3c 100644 --- a/include/ceres/cubic_interpolation.h +++ b/include/ceres/cubic_interpolation.h @@ -116,7 +116,7 @@ void CubicHermiteSpline(const Eigen::Matrix& p0, // Example usage: // // const double data[] = {1.0, 2.0, 5.0, 6.0}; -// Grid1D grid(x, 0, 4); +// Grid1D grid(data, 0, 4); // CubicInterpolator> interpolator(grid); // double f, dfdx; // interpolator.Evaluator(1.5, &f, &dfdx);