Skip to content

Commit

Permalink
fixed break
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperg3 committed Jan 29, 2024
1 parent ebceabe commit 9f71622
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trajallocpy/Experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ def solve(self, profiling_enabled=False, debug=False):
for robot in self.robot_list:
print(robot.path)

# Do not communicate if there is only one robot
if len(self.robot_list) > 1:
# Do not communicate if there
if len(self.robot_list) <= 1:
break
# Communication stage
# Send winning bid list to neighbors (depend on env)
Expand Down

0 comments on commit 9f71622

Please # to comment.