From 05c578f70db341430fb932adce377aa8c0d70bf0 Mon Sep 17 00:00:00 2001 From: Aliaume Lopez Date: Tue, 10 Jan 2017 21:15:49 +0100 Subject: [PATCH] rounrst --- parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.py b/parser.py index a3e7034..8486685 100644 --- a/parser.py +++ b/parser.py @@ -216,7 +216,7 @@ def read_matrix (tsp, tspfile): elif tsp["EDGE_WEIGHT_FORMAT"] == "FULL_MATRIX": count_sequence = (N for i in range (N)) elif tsp["EDGE_WEIGHT_FORMAT"] == "LOWER_ROW": - count_sequence = (i - 1 for i in range (N)) + count_sequence = (i for i in range (N)) elif tsp["EDGE_WEIGHT_FORMAT"] == "UPPER_DIAG_ROW": count_sequence = (N - i for i in range (N)) elif tsp["EDGE_WEIGHT_FORMAT"] == "LOWER_DIAG_ROW": -- GitLab