intcode: make execute current not protected

This commit is contained in:
2021-07-03 17:59:43 +02:00
parent ca43475a44
commit 05e2a4f3a7
2 changed files with 3 additions and 3 deletions

View File

@@ -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)