[Lemon-commits] Balazs Dezso: Swap parameters in readNauty()
Lemon HG
hg at lemon.cs.elte.hu
Wed Oct 29 15:39:02 CET 2008
details: http://lemon.cs.elte.hu/hg/lemon/rev/c6c6e1d863c4
changeset: 362:c6c6e1d863c4
user: Balazs Dezso <deba [at] inf.elte.hu>
date: Wed Oct 29 15:29:34 2008 +0100
description:
Swap parameters in readNauty()
diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
lemon/nauty_reader.h | 6 +++---
diffs (23 lines):
diff -r 2ef43a5d1e49 -r c6c6e1d863c4 lemon/nauty_reader.h
--- a/lemon/nauty_reader.h Wed Oct 29 14:06:08 2008 +0000
+++ b/lemon/nauty_reader.h Wed Oct 29 15:29:34 2008 +0100
@@ -55,8 +55,8 @@
///\code
/// int num = 0;
/// SmartGraph graph;
- /// while(readNauty(std::cin, graph)) {
- /// PlanarityChecking<SmartUGraph> pc(graph);
+ /// while (readNauty(graph, std::cin)) {
+ /// PlanarityChecking<SmartGraph> pc(graph);
/// if (pc.run()) ++num;
/// }
/// std::cout << "Number of planar graphs: " << num << std::endl;
@@ -68,7 +68,7 @@
/// ./geng -c 10 | ./num_of_pg
///\endcode
template <typename Graph>
- std::istream& readNauty(std::istream& is, Graph& graph) {
+ std::istream& readNauty(Graph& graph, std::istream& is) {
graph.clear();
std::string line;
More information about the Lemon-commits
mailing list