about summary refs log tree commit diff
path: root/Day7.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Day7.cs')
-rw-r--r--Day7.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Day7.cs b/Day7.cs
index 9493b81..9391bdb 100644
--- a/Day7.cs
+++ b/Day7.cs
@@ -9,11 +9,10 @@ namespace aoc2019
     {
         public override int DayNumber => 7;
 
-        private readonly List<long> input;
         private readonly IntCodeVM[] Amplifiers = new IntCodeVM[5];
         public Day7()
         {
-            input = Input.First().Split(',').Select(long.Parse).ToList();
+            var input = Input.First().Split(',').Select(long.Parse);
             for (var i = 0; i < 5; i++) Amplifiers[i] = new IntCodeVM(input);
         }