Using set() instead of assignment
authordeba
Fri, 15 Jun 2007 14:31:14 +0000
changeset 2455dc3f7991ad58
parent 2454 c4554a95b0d3
child 2456 717a5134ddeb
Using set() instead of assignment
lemon/dimacs.h
     1.1 --- a/lemon/dimacs.h	Tue Jun 12 14:34:28 2007 +0000
     1.2 +++ b/lemon/dimacs.h	Fri Jun 15 14:31:14 2007 +0000
     1.3 @@ -87,7 +87,7 @@
     1.4  	nodes.resize(n + 1);
     1.5  	for (int k = 1; k <= n; ++k) {
     1.6  	  nodes[k] = g.addNode();
     1.7 -	  supply[nodes[k]] = 0;
     1.8 +	  supply.set(nodes[k], 0);
     1.9  	}
    1.10  	break;
    1.11        case 'n': // node definition line