Changeset 1084:8b2d4e5d96e4 in lemon-main for test/circulation_test.cc
- Timestamp:
- 08/07/13 06:55:05 (11 years ago)
- Branch:
- default
- Parents:
- 1009:a26b90a17c81 (diff), 1083:3e711ee55d31 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
test/circulation_test.cc
r1008 r1084 74 74 VType v; 75 75 bool b; 76 ignore_unused_variable_warning(v,b);76 ::lemon::ignore_unused_variable_warning(v,b); 77 77 78 78 typedef Circulation<Digraph, CapMap, CapMap, SupplyMap> … … 105 105 const_circ_test.barrierMap(bar); 106 106 107 ignore_unused_variable_warning(fm);107 ::lemon::ignore_unused_variable_warning(fm); 108 108 } 109 109 -
test/circulation_test.cc
r1083 r1084 3 3 * This file is a part of LEMON, a generic C++ optimization library. 4 4 * 5 * Copyright (C) 2003-20 095 * Copyright (C) 2003-2010 6 6 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport 7 7 * (Egervary Research Group on Combinatorial Optimization, EGRES). … … 83 83 CirculationType circ_test(g, lcap, ucap, supply); 84 84 const CirculationType& const_circ_test = circ_test; 85 85 86 86 circ_test 87 87 .lowerMap(lcap) … … 89 89 .supplyMap(supply) 90 90 .flowMap(flow); 91 92 const CirculationType::Elevator& elev = const_circ_test.elevator(); 93 circ_test.elevator(const_cast<CirculationType::Elevator&>(elev)); 94 CirculationType::Tolerance tol = const_circ_test.tolerance(); 95 circ_test.tolerance(tol); 91 96 92 97 circ_test.init(); … … 99 104 b = const_circ_test.barrier(n); 100 105 const_circ_test.barrierMap(bar); 101 106 102 107 ::lemon::ignore_unused_variable_warning(fm); 103 108 }
Note: See TracChangeset
for help on using the changeset viewer.