# HG changeset patch # User deba # Date 1181917874 0 # Node ID dc3f7991ad5844447653224cbee6835609e44bd6 # Parent c4554a95b0d34ff4149b6623e44e4dd8ae2e29ec Using set() instead of assignment diff -r c4554a95b0d3 -r dc3f7991ad58 lemon/dimacs.h --- a/lemon/dimacs.h Tue Jun 12 14:34:28 2007 +0000 +++ b/lemon/dimacs.h Fri Jun 15 14:31:14 2007 +0000 @@ -87,7 +87,7 @@ nodes.resize(n + 1); for (int k = 1; k <= n; ++k) { nodes[k] = g.addNode(); - supply[nodes[k]] = 0; + supply.set(nodes[k], 0); } break; case 'n': // node definition line