|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53829 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-06-12 14:40:10
Author: jewillco
Date: 2009-06-12 14:40:10 EDT (Fri, 12 Jun 2009)
New Revision: 53829
URL: http://svn.boost.org/trac/boost/changeset/53829
Log:
Made sort_pair a correct Strict Weak Ordering; refs #3134
Text files modified:
trunk/boost/graph/rmat_graph_generator.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/graph/rmat_graph_generator.hpp
==============================================================================
--- trunk/boost/graph/rmat_graph_generator.hpp (original)
+++ trunk/boost/graph/rmat_graph_generator.hpp 2009-06-12 14:40:10 EDT (Fri, 12 Jun 2009)
@@ -229,9 +229,9 @@
bool operator() (const std::pair<T,T>& x, const std::pair<T,T>& y)
{
if (x.first == y.first)
- return x.second >= y.second;
+ return x.second > y.second;
else
- return x.first >= y.first;
+ return x.first > y.first;
}
};
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk