Cosmetics.
[mtp.git] / tracker.cc
index 5a0647b..eafce84 100644 (file)
@@ -211,6 +211,6 @@ int Tracker::trajectory_duration(int k) {
   return (_graph->paths[k]->nb_nodes - 2) / 2;
 }
 
-int Tracker::trajectory_location(int k, int time) {
-  return (_graph->paths[k]->nodes[2 * time + 1] - 1) % _nb_locations;
+int Tracker::trajectory_location(int k, int time_from_entry) {
+  return (_graph->paths[k]->nodes[2 * time_from_entry + 1] - 1) % _nb_locations;
 }