Skip to content
Snippets Groups Projects
Commit 510866a3 authored by Egli Adrian (IT-SCI-API-PFI)'s avatar Egli Adrian (IT-SCI-API-PFI)
Browse files

bug fix

parent 60b3093f
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ def sparse_schedule_generator(speed_ratio_map: Mapping[float, float] = None) ->
transitions = rail.get_transitions(start[0], start[1], orientation)
if any(transitions) > 0:
agents_direction.append(orientation)
continue
break
if speed_ratio_map:
speeds = speed_initialization_helper(num_agents, speed_ratio_map)
......
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