COIN-OR::LEMON - Graph Library

Changeset 736:86c49553fea5 in lemon for test/preflow_test.cc


Ignore:
Timestamp:
08/18/09 10:35:35 (10 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Test file + doc improvements (#307)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/preflow_test.cc

    r632 r736  
    9595  PreflowType preflow_test(g, cap, n, n);
    9696  const PreflowType& const_preflow_test = preflow_test;
     97 
     98  const PreflowType::Elevator& elev = const_preflow_test.elevator();
     99  preflow_test.elevator(const_cast<PreflowType::Elevator&>(elev));
     100  PreflowType::Tolerance tol = const_preflow_test.tolerance();
     101  preflow_test.tolerance(tol);
    97102
    98103  preflow_test
Note: See TracChangeset for help on using the changeset viewer.