mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-27 05:40:32 +01:00
intcode: make execute current not protected
This commit is contained in:
@@ -46,7 +46,7 @@ def part2(data: TextIO) -> int:
|
||||
|
||||
for computer in computers:
|
||||
try:
|
||||
computer._execute_current()
|
||||
computer.execute_current()
|
||||
is_idle = False
|
||||
except IndexError:
|
||||
computer.send_input(-1)
|
||||
|
||||
Reference in New Issue
Block a user