1.1 --- a/test/circulation_test.cc Tue Dec 20 17:44:38 2011 +0100
1.2 +++ b/test/circulation_test.cc Tue Dec 20 18:15:14 2011 +0100
1.3 @@ -2,7 +2,7 @@
1.4 *
1.5 * This file is a part of LEMON, a generic C++ optimization library.
1.6 *
1.7 - * Copyright (C) 2003-2009
1.8 + * Copyright (C) 2003-2010
1.9 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
1.10 * (Egervary Research Group on Combinatorial Optimization, EGRES).
1.11 *
1.12 @@ -81,13 +81,18 @@
1.13 ::Create CirculationType;
1.14 CirculationType circ_test(g, lcap, ucap, supply);
1.15 const CirculationType& const_circ_test = circ_test;
1.16 -
1.17 +
1.18 circ_test
1.19 .lowerMap(lcap)
1.20 .upperMap(ucap)
1.21 .supplyMap(supply)
1.22 .flowMap(flow);
1.23
1.24 + const CirculationType::Elevator& elev = const_circ_test.elevator();
1.25 + circ_test.elevator(const_cast<CirculationType::Elevator&>(elev));
1.26 + CirculationType::Tolerance tol = const_circ_test.tolerance();
1.27 + circ_test.tolerance(tol);
1.28 +
1.29 circ_test.init();
1.30 circ_test.greedyInit();
1.31 circ_test.start();
1.32 @@ -97,7 +102,7 @@
1.33 const FlowMap& fm = const_circ_test.flowMap();
1.34 b = const_circ_test.barrier(n);
1.35 const_circ_test.barrierMap(bar);
1.36 -
1.37 +
1.38 ignore_unused_variable_warning(fm);
1.39 }
1.40