COIN-OR::LEMON - Graph Library

Changeset 925:30c77d1c0cba in lemon


Ignore:
Timestamp:
10/15/09 21:04:50 (15 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Children:
926:ec0b1b423b8b, 928:7bf1117178af, 945:5b926cc36a4b
Phase:
public
Message:

Remove unnecessary integer requirement in Suurballe (#323)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/suurballe.h

    r924 r925  
    5656  /// The default value is <tt>GR::ArcMap<int></tt>.
    5757  ///
    58   /// \warning Length values should be \e non-negative \e integers.
     58  /// \warning Length values should be \e non-negative.
    5959  ///
    6060  /// \note For finding node-disjoint paths this algorithm can be used
     
    253253      _graph(graph), _length(length), _flow(0), _local_flow(false),
    254254      _potential(0), _local_potential(false), _pred(graph)
    255     {
    256       LEMON_ASSERT(std::numeric_limits<Length>::is_integer,
    257         "The length type of Suurballe must be integer");
    258     }
     255    {}
    259256
    260257    /// Destructor.
Note: See TracChangeset for help on using the changeset viewer.