]> localhost Git - adventofcode2019.git/commit
Fix Intcode bug
authorJack Kinsey <j.jameskinsey@gmail.com>
Tue, 10 Dec 2019 00:29:06 +0000 (19:29 -0500)
committerJack Kinsey <j.jameskinsey@gmail.com>
Tue, 10 Dec 2019 00:29:06 +0000 (19:29 -0500)
commit62672d5e2c124a12430f5db43053202837db8bb7
tree460dd60f555cd21464fecfaa3199ee0d891c5ddc
parent294dce8eb1be7ecb522ec7492d712a54c955fb52
Fix Intcode bug

Turns out relative mode parameters can be used in write-to-memory
positions, so the wrapper function needed to be changed to account for
that. It's a little ugly, but it's the best I've got.
src/adventofcode2019/intcode.clj