Skip to content

Commit 55097f4

Browse files
committed
Debug Tarjan algorithm
1 parent a50b8bc commit 55097f4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Strongly_Connected_Component/Tarjan.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ void dfs(int u,int p){
2626
onstack[u] = 1;
2727
st.push(u);
2828
for(auto x:g[u]){
29-
if(x == p) continue;
3029
if(!idx[x]) dfs(x,u),low[u] = min(low[u],low[x]);
3130
else if(onstack[x]) low[u] = min(low[u],idx[x]);
3231
}

0 commit comments

Comments
 (0)