Skip to content

Commit c7999c0

Browse files
authored
Merge pull request #1295 from Atulbedwal/patch-1
Given both work on CSES and the tin version is concordant with our bridge finding as article, I'm comfortable making this update despite not fully understanding tarjans bridge finding algorithm.
2 parents 1e3a930 + d211697 commit c7999c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graph/strong-orientation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void find_bridges(int v) {
7878
bridge_cnt++;
7979
}
8080
} else {
81-
low[v] = min(low[v], low[nv]);
81+
low[v] = min(low[v], tin[nv]);
8282
}
8383
}
8484
}

0 commit comments

Comments
 (0)