Skip to content

Commit

Permalink
Refactor CSpline::min_size() method to return 4 instead of 3
Browse files Browse the repository at this point in the history
  • Loading branch information
fbriol committed Jun 13, 2024
1 parent edbcd35 commit 069fefd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class CSpline : public CSplineBase<T> {
using CSplineBase<T>::derivative;

/// Returns the minimum number of points required for the interpolation.
auto min_size() const -> Eigen::Index override { return 3; }
auto min_size() const -> Eigen::Index override { return 4; }

private:
/// @brief Compute the coefficients of the interpolation
Expand Down

0 comments on commit 069fefd

Please sign in to comment.