diff --git a/lib/src/strongly_connected_components.dart b/lib/src/strongly_connected_components.dart index eacc860..a68e25a 100644 --- a/lib/src/strongly_connected_components.dart +++ b/lib/src/strongly_connected_components.dart @@ -40,7 +40,7 @@ List> stronglyConnectedComponents( index++; lastVisited.addLast(node); onStack.add(nodeKey); - for (final next in children(node) ?? const []) { + for (final V next in children(node) ?? const []) { var nextKey = key(next); if (!indexes.containsKey(nextKey)) { strongConnect(next); diff --git a/pubspec.yaml b/pubspec.yaml index c581f53..e80472e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: graphs -version: 0.1.0 +version: 0.1.1-dev description: Graph algorithms operation an graphs in any representation. author: Dart Team homepage: https://github.com/dart-lang/graphs