소스 검색

that was not enough

tarfeef101 6 년 전
부모
커밋
58f2aa9a98
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      a3/router.py

+ 1 - 1
a3/router.py

@@ -150,7 +150,7 @@ class graph:
         
         # set the adjacent node for each node
         for i in range(0, 5):
-            this.sssp[i - 1][1] = i
+            this.sssp[i - 1] = (this.sssp[i - 1][0], i)
         this.sssp[rid - 1] = (0, rid - 1)
         
         curnode = rid - 1