Skip to content

Commit

Permalink
Fix another thing lol
Browse files Browse the repository at this point in the history
  • Loading branch information
ffelten committed Jan 15, 2024
1 parent a025f65 commit 70fc921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mo_gymnasium/envs/deep_sea_treasure/deep_sea_treasure.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def __init__(self, render_mode: Optional[str] = None, dst_map=DEFAULT_MAP, float
else:
raise ValueError("Invalid map")
print(f"Using {self.map_name} map")
self._pareto_front = CONVEX_FRONT if np.all(dst_map == DEFAULT_MAP) else CONCAVE_FRONT
self._pareto_front = CONVEX_FRONT if self.map_name == "convex" else CONCAVE_FRONT

self.dir = {
0: np.array([-1, 0], dtype=np.int32), # up
Expand Down

0 comments on commit 70fc921

Please sign in to comment.