aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/sanitised_dependencies.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-05 17:44:59 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-05 17:44:59 +0000
commitd973f21c51244c30b682618717d2946aa0025c28 (patch)
treed3f39e03466bd422d25ea2694c260c434f35a470 /paludis/resolver/sanitised_dependencies.cc
parent0c1ff159718540f4ffb4d0160daf078d48d478df (diff)
downloadpaludis-d973f21c51244c30b682618717d2946aa0025c28.tar.gz
paludis-d973f21c51244c30b682618717d2946aa0025c28.tar.xz
Fix || ( a ( ) ) logic
Diffstat (limited to 'paludis/resolver/sanitised_dependencies.cc')
-rw-r--r--paludis/resolver/sanitised_dependencies.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/resolver/sanitised_dependencies.cc b/paludis/resolver/sanitised_dependencies.cc
index a53380161..d4f38eddd 100644
--- a/paludis/resolver/sanitised_dependencies.cc
+++ b/paludis/resolver/sanitised_dependencies.cc
@@ -280,7 +280,7 @@ namespace
g != g_end ; ++g)
{
/* best possible, to get ( ) right */
- std::pair<AnyChildScore, OperatorScore> worst_score(acs_already_installed, os_greater_or_none);
+ std::pair<AnyChildScore, OperatorScore> worst_score(acs_better_than_best, os_better_than_best);
/* score of a group is the score of the worst child. */
for (std::list<PackageOrBlockDepSpec>::const_iterator h(g->begin()), h_end(g->end()) ;