[Aptitude-svn-commit] r4055 - in branches/aptitude-0.3/aptitude: .
src/generic/problemresolver
Daniel Burrows
dburrows at costa.debian.org
Tue Sep 6 19:55:45 UTC 2005
Author: dburrows
Date: Tue Sep 6 19:55:43 2005
New Revision: 4055
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/generic/problemresolver/solution.h
Log:
Fix compilation problems.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Sep 6 19:55:43 2005
@@ -2,6 +2,10 @@
* src/generic/solution.h:
+ Yes, I need to check that it compiles before I commit it.
+
+ * src/generic/solution.h:
+
Actually factor in the full_solution_score when a new solution
will be broken-dep-less.
Modified: branches/aptitude-0.3/aptitude/src/generic/problemresolver/solution.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/problemresolver/solution.h (original)
+++ branches/aptitude-0.3/aptitude/src/generic/problemresolver/solution.h Tue Sep 6 19:55:43 2005
@@ -293,7 +293,7 @@
int score = initial_broken.size() * weights.broken_score;
if(initial_broken.empty())
- score += full_solution_score;
+ score += weights.full_solution_score;
return generic_solution(new solution_rep(imm::map<package, action>(),
initial_broken,
More information about the Aptitude-svn-commit
mailing list