Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jason Chemin
curves
Commits
dde8663f
Commit
dde8663f
authored
Jul 24, 2019
by
JasonChmn
Browse files
[Bezier_curve] Small fix on double comparison
parent
3e8d71d4
Pipeline
#5047
passed with stage
in 2 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
include/curves/bezier_curve.h
View file @
dde8663f
...
...
@@ -334,7 +334,7 @@ struct bezier_curve : public curve_abc<Time, Numeric, Dim, Safe, Point>
{
return
split
(
t2
).
first
;
}
if
(
fabs
(
t2
-
T_max_
))
if
(
fabs
(
t2
-
T_max_
)
<
MARGIN
)
{
return
split
(
t1
).
second
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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