Commit b048151f authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

fix an error in extract method

parent 703b04f4
......@@ -331,7 +331,7 @@ struct bezier_curve : public curve_abc<Time, Numeric, Dim, Safe, Point>
return split(t1).second;
std::pair<bezier_curve_t,bezier_curve_t> c_split = this->split(t1);
return c_split.second->split(t2).first;
return c_split.second.split(t2-t1).first;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment