Skip to content

Commit 247368a

Browse files
committed
update old var names
1 parent 565a7ab commit 247368a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/graphs/functional_graph_processor.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//! https://github.com/Aeren1564/Algorithms/blob/master/Algorithm_Implementations_Cpp/Graph_Theory/Special_Graphs/functional_graph_processor.sublime-snippet
33
//! @code
44
//! // 0 <= a[i] < n
5-
//! auto [t2, cycle] = func_graph(a);
6-
//! auto [cyc_id, cyc_pos] = t2[v].root_of;
5+
//! auto [t, cycle] = func_graph(a);
6+
//! auto [cyc_id, cyc_pos] = t[v].root_of;
77
//! int root = cycle[cyc_id][cyc_pos];
88
//! bool is_on_cycle = (v == root);
99
//! @endcode

0 commit comments

Comments
 (0)