1.1 --- a/lemon/nauty_reader.h Wed Oct 29 14:06:08 2008 +0000
1.2 +++ b/lemon/nauty_reader.h Wed Oct 29 15:29:34 2008 +0100
1.3 @@ -55,8 +55,8 @@
1.4 ///\code
1.5 /// int num = 0;
1.6 /// SmartGraph graph;
1.7 - /// while(readNauty(std::cin, graph)) {
1.8 - /// PlanarityChecking<SmartUGraph> pc(graph);
1.9 + /// while (readNauty(graph, std::cin)) {
1.10 + /// PlanarityChecking<SmartGraph> pc(graph);
1.11 /// if (pc.run()) ++num;
1.12 /// }
1.13 /// std::cout << "Number of planar graphs: " << num << std::endl;
1.14 @@ -68,7 +68,7 @@
1.15 /// ./geng -c 10 | ./num_of_pg
1.16 ///\endcode
1.17 template <typename Graph>
1.18 - std::istream& readNauty(std::istream& is, Graph& graph) {
1.19 + std::istream& readNauty(Graph& graph, std::istream& is) {
1.20 graph.clear();
1.21
1.22 std::string line;