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

fix bounds reset : add depot case

parent e4041f77
No related branches found
No related tags found
1 merge request!1Multimodal Insertion Heuristic prototype
......@@ -128,7 +128,10 @@ std::string SAEVKeyPoint::to_string() const {
}
void SAEVKeyPoint::resetBounds() {
if(isOrigin()) {
if(isDepot()) {
_minTW = 0;
_maxTW = INT16_MAX;
} else if(isOrigin()) {
_minTW = _requestPointer->getMinDepartureTw();
_maxTW = _requestPointer->getMaxDepartureTw();
} else {
......
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