Browse Source

forgot a close bracket

tarfeef101 6 years ago
parent
commit
1caeedbd68
1 changed files with 1 additions and 1 deletions
  1. 1 1
      a3/router.py

+ 1 - 1
a3/router.py

@@ -163,7 +163,7 @@ class graph:
                 if (result != this.sssp[i][0]):
                 if (result != this.sssp[i][0]):
                     this.sssp[i] = (result, curnode)
                     this.sssp[i] = (result, curnode)
                 else:
                 else:
-                    this.sssp[i] = (result, this.sssp[i][1]
+                    this.sssp[i] = (result, this.sssp[i][1])
                 
                 
             unvisited[curnode] = 0
             unvisited[curnode] = 0
             # if we visited all, we're done
             # if we visited all, we're done