# HG changeset patch # User Peter Kovacs # Date 1255633490 -7200 # Node ID 30c77d1c0cba549cb3f5309642d576cfa9c16534 # Parent c67e235c832ff2ceb8cb0dd46df952afb98867c8 Remove unnecessary integer requirement in Suurballe (#323) diff -r c67e235c832f -r 30c77d1c0cba lemon/suurballe.h --- a/lemon/suurballe.h Thu Oct 15 21:03:17 2009 +0200 +++ b/lemon/suurballe.h Thu Oct 15 21:04:50 2009 +0200 @@ -55,7 +55,7 @@ /// \tparam LEN The type of the length map. /// The default value is GR::ArcMap. /// - /// \warning Length values should be \e non-negative \e integers. + /// \warning Length values should be \e non-negative. /// /// \note For finding node-disjoint paths this algorithm can be used /// along with the \ref SplitNodes adaptor. @@ -252,10 +252,7 @@ const LengthMap &length ) : _graph(graph), _length(length), _flow(0), _local_flow(false), _potential(0), _local_potential(false), _pred(graph) - { - LEMON_ASSERT(std::numeric_limits::is_integer, - "The length type of Suurballe must be integer"); - } + {} /// Destructor. ~Suurballe() {