1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-24 20:55:55 +01:00

Hadrons: fix in topological sort algorithm name

This commit is contained in:
Antonin Portelli 2015-12-02 19:40:11 +00:00
parent 6f090e22c0
commit bb195607ab

View File

@ -420,7 +420,7 @@ std::vector<Graph<T>> Graph<T>::getConnectedComponents(void) const
return res; return res;
} }
// topological sort using Kahn's algorithm // topological sort using Tarjan's algorithm
template <typename T> template <typename T>
std::stack<T> Graph<T>::topoSort(void) std::stack<T> Graph<T>::topoSort(void)
{ {