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
Stack Of Tasks
pinocchio
Commits
758c694a
Verified
Commit
758c694a
authored
Apr 15, 2021
by
Justin Carpentier
Browse files
spatial: add missing noalias
parent
cdf90b84
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/spatial/inertia.hpp
View file @
758c694a
...
...
@@ -301,7 +301,7 @@ namespace pinocchio
Vector10
v
;
v
[
0
]
=
mass
();
v
.
template
segment
<
3
>(
1
)
=
mass
()
*
lever
();
v
.
template
segment
<
3
>(
1
)
.
noalias
()
=
mass
()
*
lever
();
v
.
template
segment
<
6
>(
4
)
=
(
inertia
()
-
AlphaSkewSquare
(
mass
(),
lever
())).
data
();
return
v
;
...
...
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