disable some warnings

parent 221afc99
Pipeline #21405 passed with stages
in 9 minutes and 59 seconds
......@@ -1817,7 +1817,7 @@ void UnivFFviaFM::getDirectionToUID(int destID, long int key, Point& direction){
} else if ((key < _grid->GetnPoints()-_grid->GetiMax()) && (_gridCode[key+_grid->GetiMax()] != OUTSIDE) && (_gridCode[key+_grid->GetiMax()] != WALL)) {
key = key + _grid->GetiMax();
} else {
Log->Write("ERROR:\t In getDirectionToUID (3 args)");
// Log->Write("ERROR:\t In getDirectionToUID (3 args)");
}
}
if (_directionFieldWithKey.count(destID)==1 && _directionFieldWithKey[destID]) {
......
......@@ -1664,7 +1664,7 @@ double UnivFFviaFMTrips::getCostToDestination(const int destID, const Point& pos
} else if ((key < _grid->GetnPoints()-_grid->GetiMax()) && (_gridCode[key+_grid->GetiMax()] != OUTSIDE) && (_gridCode[key+_grid->GetiMax()] != WALL)) {
key = key + _grid->GetiMax();
} else {
Log->Write("ERROR:\t In getCostToDestination(3 args)");
// Log->Write("ERROR:\t In getCostToDestination(3 args)");
}
}
if (_costFieldWithKey.count(destID)==1 && _costFieldWithKey[destID]) {
......@@ -1834,7 +1834,7 @@ void UnivFFviaFMTrips::getDirectionToUID(int destID, long int key, Point& direct
} else if ((key < _grid->GetnPoints()-_grid->GetiMax()) && (_gridCode[key+_grid->GetiMax()] != OUTSIDE) && (_gridCode[key+_grid->GetiMax()] != WALL)) {
key = key + _grid->GetiMax();
} else {
Log->Write("ERROR:\t In getDirectionToUID (3 args)");
// Log->Write("ERROR:\t In getDirectionToUID (3 args)");
}
}
if (_directionFieldWithKey.count(destID)==1 && _directionFieldWithKey[destID]) {
......
Markdown is supported
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