... | ... |
@@ -56,5 +56,5 @@ |
56 | 56 |
/// The default value is <tt>GR::ArcMap<int></tt>. |
57 | 57 |
/// |
58 |
/// \warning Length values should be \e non-negative |
|
58 |
/// \warning Length values should be \e non-negative. |
|
59 | 59 |
/// |
60 | 60 |
/// \note For finding node-disjoint paths this algorithm can be used |
... | ... |
@@ -253,8 +253,5 @@ |
253 | 253 |
_graph(graph), _length(length), _flow(0), _local_flow(false), |
254 | 254 |
_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 |
{} |
|
259 | 256 |
|
260 | 257 |
/// Destructor. |
... | ... |
@@ -521,5 +518,5 @@ |
521 | 518 |
/// \pre \ref run() or \ref findPaths() must be called before using |
522 | 519 |
/// this function. |
523 |
Path path(int i) const { |
|
520 |
const Path& path(int i) const { |
|
524 | 521 |
return paths[i]; |
525 | 522 |
} |
0 comments (0 inline)