gravatar
deba@inf.elte.hu
deba@inf.elte.hu
Swap parameters in readNauty()
0 1 0
default
1 file changed with 3 insertions and 3 deletions:
↑ Collapse diff ↑
Show white space 6 line context
... ...
@@ -55,8 +55,8 @@
55 55
  ///\code
56 56
  /// int num = 0;
57 57
  /// SmartGraph graph;
58
  /// while(readNauty(std::cin, graph)) {
59
  ///   PlanarityChecking<SmartUGraph> pc(graph);
58
  /// while (readNauty(graph, std::cin)) {
59
  ///   PlanarityChecking<SmartGraph> pc(graph);
60 60
  ///   if (pc.run()) ++num;
61 61
  /// }
62 62
  /// std::cout << "Number of planar graphs: " << num << std::endl;
... ...
@@ -68,7 +68,7 @@
68 68
  /// ./geng -c 10 | ./num_of_pg
69 69
  ///\endcode
70 70
  template <typename Graph>
71
  std::istream& readNauty(std::istream& is, Graph& graph) {
71
  std::istream& readNauty(Graph& graph, std::istream& is) {
72 72
    graph.clear();
73 73

	
74 74
    std::string line;
0 comments (0 inline)