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
Guilhem Saurel
hpp-rbprm-corba
Commits
74995639
Commit
74995639
authored
Aug 19, 2019
by
stevet
Browse files
[BUG FIX] states added at the end of list, not beginning
parent
723c10c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/rbprmbuilder.impl.cc
View file @
74995639
...
...
@@ -1594,8 +1594,8 @@ namespace hpp {
}
else
{
lastStatesComputed_
.
insert
(
lastStatesComputed_
.
begin
(),
newStates
.
begin
(),
newStates
.
end
());
lastStatesComputedTime_
.
insert
(
lastStatesComputedTime_
.
begin
(),
newTimeStates
.
begin
(),
newTimeStates
.
end
());
lastStatesComputed_
.
insert
(
lastStatesComputed_
.
end
(),
newStates
.
begin
(),
newStates
.
end
());
lastStatesComputedTime_
.
insert
(
lastStatesComputedTime_
.
end
(),
newTimeStates
.
begin
(),
newTimeStates
.
end
());
}
return
res
;
}
...
...
@@ -2305,8 +2305,8 @@ namespace hpp {
}
else
{
lastStatesComputed_
.
insert
(
lastStatesComputed_
.
begin
(),
newStates
.
begin
(),
newStates
.
end
());
lastStatesComputedTime_
.
insert
(
lastStatesComputedTime_
.
begin
(),
newTimeStates
.
begin
(),
newTimeStates
.
end
());
lastStatesComputed_
.
insert
(
lastStatesComputed_
.
end
(),
newStates
.
begin
(),
newStates
.
end
());
lastStatesComputedTime_
.
insert
(
lastStatesComputedTime_
.
end
(),
newTimeStates
.
begin
(),
newTimeStates
.
end
());
}
return
res
;
}
...
...
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