Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Commit 1d76d47

Browse files
committed
Extra lines removed
1 parent 83d531d commit 1d76d47

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/dining.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,15 @@ public static int[] dijkstra(int[][] graph1, int startVertex) {
5959
arr[vertexIndex] = 1;
6060
/*
6161
if(pasture[nearestVertex] > 0) {
62-
for(int j = 0; j < N; j++) {
63-
62+
for(int j = 0; j < N; j++) {
6463
graph1[nearestVertex][j] = 0;
65-
graph1[j][nearestVertex] = 0;
66-
64+
graph1[j][nearestVertex] = 0;
6765
}
6866
}
6967
if(pasture[vertexIndex] > 0) {
70-
for(int j = 0; j < N; j++) {
71-
68+
for(int j = 0; j < N; j++) {
7269
graph1[j][vertexIndex] = 0;
7370
graph1[vertexIndex][j] = 0;
74-
7571
}
7672
}
7773
*/

0 commit comments

Comments
 (0)