Commit 74995639 authored by stevet's avatar stevet
Browse files

[BUG FIX] states added at the end of list, not beginning

parent 723c10c2
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment