diff -r b526b87d8c2f -r 3d65053d01a3 lemon/max_matching.h --- a/lemon/max_matching.h Sun May 25 16:35:05 2008 +0000 +++ b/lemon/max_matching.h Tue Jun 10 11:36:17 2008 +0000 @@ -2853,7 +2853,7 @@ int index = 0; for (NodeIt n(_ugraph); n != INVALID; ++n) { - Value max = std::numeric_limits::min(); + Value max = - std::numeric_limits::max(); for (OutEdgeIt e(_ugraph, n); e != INVALID; ++e) { if (_ugraph.target(e) == n) continue; if ((dualScale * _weight[e]) / 2 > max) {