nix: bump flake inputs

This commit is contained in:
Bruno BELANYI 2024-11-23 18:42:21 +00:00
parent 67ef6227dc
commit 8618c81b2f
11 changed files with 28 additions and 32 deletions

View file

@ -20,7 +20,7 @@ class HeightMap:
def reachable_neighbours(self, p: Point) -> Iterator[Point]:
reachable_height = self.heights[p.x][p.y] + 1
for (dx, dy) in ((-1, 0), (1, 0), (0, -1), (0, 1)):
for dx, dy in ((-1, 0), (1, 0), (0, -1), (0, 1)):
x, y = p.x + dx, p.y + dy
if x < 0 or x >= len(self.heights):
continue