Skip to content

Commit

Permalink
tweaking debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Apr 29, 2024
1 parent 4abbb76 commit a865199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/router/DijkstraRouter.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class DijkstraRouter : public SUMOAbstractRouter<E, V> {
double length = 0.; // dummy for the via edge cost update
this->startQuery();
#ifdef DijkstraRouter_DEBUG_QUERY
std::cout << "DEBUG: starting search for '" << Named::getIDSecure(vehicle) << "' time: " << STEPS2TIME(msTime) << "\n";
std::cout << "DEBUG: starting search for '" << Named::getIDSecure(vehicle) << "' from '" << Named::getIDSecure(from) << "' to '" << Named::getIDSecure(to) << "' time: " << STEPS2TIME(msTime) << "\n";
#endif
const SUMOVehicleClass vClass = vehicle == nullptr ? SVC_IGNORING : vehicle->getVClass();
const bool ignoreTransient = vehicle == nullptr ? false : vehicle->ignoreTransientPermissions();
Expand Down

0 comments on commit a865199

Please sign in to comment.