Parcourir la source

forgot a close bracket

tarfeef101 il y a 6 ans
Parent
commit
1caeedbd68
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      a3/router.py

+ 1 - 1
a3/router.py

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