Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
ndcurves
Commits
b048151f
Commit
b048151f
authored
May 25, 2018
by
Pierre Fernbach
Browse files
fix an error in extract method
parent
703b04f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/spline/bezier_curve.h
View file @
b048151f
...
...
@@ -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
;
}
private:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment