diff --git a/dataset_generator.py b/dataset_generator.py index aff3660..c576bd7 100644 --- a/dataset_generator.py +++ b/dataset_generator.py @@ -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: