From 2f7d412196174a2c445a28f010d8b7454bf42a5c Mon Sep 17 00:00:00 2001 From: Ville Penttinen Date: Sat, 30 Dec 2023 15:51:39 +0100 Subject: [PATCH] Fix aoc2023 day22 --- visp/examples/aoc2023/day22.visp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visp/examples/aoc2023/day22.visp b/visp/examples/aoc2023/day22.visp index 1fad530..2fe0025 100644 --- a/visp/examples/aoc2023/day22.visp +++ b/visp/examples/aoc2023/day22.visp @@ -150,7 +150,7 @@ (let c5 (< (Y lhs_max) (Y rhs_min))) (let c6 (< (Y rhs_max) (Y lhs_min))) - (not (-|| c1 c2 c3 c4 c5 c6))) + (not (|| c1 c2 c3 c4 c5 c6))) (fn inline IntersectsXY ([lhs: Brick] [rhs: Brick]) (let (lhs_min, lhs_max) (+Original lhs))