Skip to content
Snippets Groups Projects
Commit aabba5f7 authored by Romain BERNARD's avatar Romain BERNARD
Browse files

fix a silly iteration issue bug

parent 8366e113
No related branches found
No related tags found
1 merge request!2Route manipulation API with automatic constraint propagation
......@@ -410,8 +410,8 @@ BestInsertionQueue SAEVRoute::getBestInsertionsQueue(size_t requestId, size_t ve
originInsertionKeyPoint, destinationInsertionKeyPoint)) {
score = getDetourScore(requestId, *originInsertionKeyPoint, *destinationInsertionKeyPoint);
bestInsertionQueue.emplace(originInsertionKeyPoint, destinationInsertionKeyPoint, score);
destinationInsertionKeyPoint = destinationInsertionKeyPoint->getSuccessor();
}
destinationInsertionKeyPoint = destinationInsertionKeyPoint->getSuccessor();
}
//Iterate over possible origins and reset destination to being the same point as the origin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment