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
Guilhem Saurel
ndcurves
Commits
04e9bc67
Commit
04e9bc67
authored
Sep 26, 2020
by
Steve T
Browse files
[TEST FIX] unused parameter when evaluating De Casteljau
parent
dbde17d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/Main.cpp
View file @
04e9bc67
...
...
@@ -896,7 +896,7 @@ void BezierEvalDeCasteljau(bool& error) {
params
.
push_back
(
i
);
bezier_t
cf2
(
params
.
begin
(),
params
.
end
());
for
(
std
::
vector
<
double
>::
const_iterator
cit
=
values
.
begin
();
cit
!=
values
.
end
();
++
cit
)
{
ComparePoints
(
cf
.
evalDeCasteljau
(
*
cit
),
cf
(
*
cit
),
errmsg
,
error
);
ComparePoints
(
cf
2
.
evalDeCasteljau
(
*
cit
),
cf
2
(
*
cit
),
errmsg
,
error
);
}
}
...
...
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