# HG changeset patch # User alpar # Date 1083001009 0 # Node ID 675bfb074509bcd048f1208e823cd363b19d4092 # Parent 4fbe868c1fb4b6f0e0c459ceb134d9b2913d483c Some more tests. diff -r 4fbe868c1fb4 -r 675bfb074509 src/work/alpar/list_graph_demo.cc --- a/src/work/alpar/list_graph_demo.cc Mon Apr 26 17:33:51 2004 +0000 +++ b/src/work/alpar/list_graph_demo.cc Mon Apr 26 17:36:49 2004 +0000 @@ -119,6 +119,9 @@ << " em=" << em[e] << " sm=" << sm[e] << "\n"; + //Delete all nodes + NodeIt n; + while(G.valid(G.first(n))) G.erase(n); } // Tests for NodeSet and EdgeSet