Skip to content

Commit

Permalink
visible_from fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maxzuo committed Oct 12, 2024
1 parent 89e3b3e commit da1f8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataset_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1988,7 +1988,7 @@ def grid_analysis(
for obj, (x, y) in zip(objectives, objective_positions):
waypoint_idx = x * grid_size_y + y
waypoint = waypoints[waypoint_idx]
predicates.append(Predicate("visible_from", waypoint, obj))
predicates.append(Predicate("visible_from", obj, waypoint))

rock_positions = kwargs.get("rock_positions")
for x, y in rock_positions:
Expand Down

0 comments on commit da1f8fb

Please sign in to comment.