diff options
author | Ben Harris <ben@tilde.team> | 2019-12-09 04:03:50 -0500 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2019-12-09 04:03:50 -0500 |
commit | eb284a98c6febe943c81dc529d881f2a9752ee74 (patch) | |
tree | 842f581574c3033440c4b5579339bc1d876c42dc /lib/IntCodeVM.cs | |
parent | fc102fe6012ef98831621afe66de06ce5bac996f (diff) |
IEnumerable instead of List
Diffstat (limited to 'lib/IntCodeVM.cs')
-rw-r--r-- | lib/IntCodeVM.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IntCodeVM.cs b/lib/IntCodeVM.cs index 92cd539..f7699c6 100644 --- a/lib/IntCodeVM.cs +++ b/lib/IntCodeVM.cs @@ -12,7 +12,7 @@ namespace aoc2019.lib private readonly long[] program; public Queue<long> input, output; - public IntCodeVM(List<long> tape) + public IntCodeVM(IEnumerable<long> tape) { i = 0; relbase = 0; |