diff --git a/lemon/suurballe.h b/lemon/suurballe.h
--- a/lemon/suurballe.h
+++ b/lemon/suurballe.h
@@ -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() {
@@ -520,7 +517,7 @@
///
/// \pre \ref run() or \ref findPaths() must be called before using
/// this function.
- Path path(int i) const {
+ const Path& path(int i) const {
return paths[i];
}