strasdat / Sophus

C++ implementation of Lie Groups using Eigen.
Other
2.07k stars 599 forks source link

Update test_common.cpp: use integer constant for knot index #529

Closed cedricpradalier closed 5 months ago

cedricpradalier commented 1 year ago

Converted 1.0 and 0.0 to 1 and 0 respectively in the first argument of parent_T_spline(i,u) (and derivative): because this is a knot index argument. It adds nothing to the test itself and is confusing to the reader who wants to check how Sophus splines are used.

strasdat commented 5 months ago

thanks