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
Stack Of Tasks
pinocchio
Commits
8cd536f7
Verified
Commit
8cd536f7
authored
Mar 11, 2020
by
Justin Carpentier
Browse files
core/model: fix comparison
parent
9529b946
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/multibody/model.hxx
View file @
8cd536f7
...
...
@@ -255,7 +255,7 @@ namespace pinocchio
if
(
existFrame
(
frame
.
name
))
{
FrameIndex
frame_id
=
getFrameId
(
frame
.
name
);
if
(
frames
[
frame_id
]
.
type
==
frame
.
type
)
if
(
frames
[
frame_id
]
==
frame
)
return
(
int
)
frame_id
;
else
return
-
1
;
...
...
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