about summary refs log tree commit diff
path: root/lib/IntCodeVM.cs
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2019-12-09 04:03:50 -0500
committerBen Harris <ben@tilde.team>2019-12-09 04:03:50 -0500
commiteb284a98c6febe943c81dc529d881f2a9752ee74 (patch)
tree842f581574c3033440c4b5579339bc1d876c42dc /lib/IntCodeVM.cs
parentfc102fe6012ef98831621afe66de06ce5bac996f (diff)
IEnumerable instead of List
Diffstat (limited to 'lib/IntCodeVM.cs')
-rw-r--r--lib/IntCodeVM.cs2
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;