From e1322465af4a6c476adcda29b1a6dd1e4246fc8c Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 14 Dec 2024 19:15:21 +0000 Subject: [PATCH] typo --- day-14/internal/two/neighbours.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day-14/internal/two/neighbours.go b/day-14/internal/two/neighbours.go index 885b646..b4a3b57 100644 --- a/day-14/internal/two/neighbours.go +++ b/day-14/internal/two/neighbours.go @@ -7,7 +7,7 @@ func neighbours(p position) [8]position { {p.x + 1, p.y}, // E {p.x + 1, p.y + 1}, // SE {p.x, p.y + 1}, // S - {p.x - 1, p.y + 1}, // Sw + {p.x - 1, p.y + 1}, // SW {p.x - 1, p.y}, // W {p.x - 1, p.y - 1}, // NW }