Browse Source

i hate everything. giving up is life

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

+ 1 - 1
a3/router.py

@@ -165,7 +165,7 @@ class graph:
                 if (result != this.sssp[i][0]):
                     # skip for curnode = rid - 1
                     if (curnode == (rid - 1)):
-                        this.sssp[i] = (result, this.sssp.[i][1])
+                        this.sssp[i] = (result, this.sssp[i][1])
                     else:
                         this.sssp[i] = (result, this.sssp[curnode][1])
                 else: