Skip to content

Commit 39a8870

Browse files
committed
fix code
1 parent 2ebce4a commit 39a8870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2024/src/day14.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension (self: Int)
2323
else
2424
m
2525

26-
case class Robot(pos: Vec2i, velocity: Vec2i)
26+
case class Robot(pos: Vec2i, velocity: Vec2i):
2727
def stepN(n: Int = 1): Robot =
2828
copy(pos = pos.copy(x = (pos.x + n * velocity.x) rem size.x, y = (pos.y + n * velocity.y) rem size.y))
2929

0 commit comments

Comments
 (0)