From 677e5f765640c706bb203f89493bbccf6c9c5458 Mon Sep 17 00:00:00 2001 From: UmbertoJr Date: Mon, 4 Nov 2019 06:31:15 +0100 Subject: [PATCH] io --- src/io_tsp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io_tsp.py b/src/io_tsp.py index 3f23b69..eb103ba 100644 --- a/src/io_tsp.py +++ b/src/io_tsp.py @@ -45,7 +45,7 @@ class Instance: # read all data points and store them self.optimal_tour = np.zeros(self.nPoints) for i in range(self.nPoints): - line_i = self.lines[5 + i].split(' ') + line_i = lines[5 + i].split(' ') self.optimal_tour[0] = int(line_i[0]) def print_info(self):