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
f9e558da
Commit
f9e558da
authored
Jan 09, 2020
by
stevet
Browse files
fix debug execution with wrong use of segment
parent
093b8e8e
Changes
1
Show whitespace changes
Inline
Side-by-side
python/python_variables.cpp
View file @
f9e558da
...
...
@@ -61,7 +61,7 @@ linear_variable_t* wayPointsToLists(const bezier_linear_variable_t& self) {
int
i
=
0
;
for
(
cit_point
cit
=
wps
.
begin
();
cit
!=
wps
.
end
();
++
cit
,
++
i
)
{
matrices
.
block
(
0
,
i
*
3
,
dim
,
3
)
=
cit
->
B
().
transpose
();
vectors
.
segment
<
3
>
(
i
*
3
,
i
*
3
+
2
)
=
cit
->
c
();
vectors
.
segment
<
3
>
(
i
*
3
)
=
cit
->
c
();
}
return
new
linear_variable_t
(
matrices
.
transpose
(),
vectors
.
transpose
());
}
...
...
Write
Preview
Supports
Markdown
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