Skip to content
Snippets Groups Projects
Commit 7d3d19a1 authored by stevet's avatar stevet
Browse files

default argument for curve constraint to be retrocompatible

parent 970cd485
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ namespace curves {
template <typename Point>
struct curve_constraints {
typedef Point point_t;
curve_constraints(const int dim)
curve_constraints(const int dim = 3)
:init_vel (point_t::Zero(dim))
,init_acc (point_t::Zero(dim))
,init_jerk(point_t::Zero(dim))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment