]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.cc
provide a public interface for acquiring changelogs
[apt.git] / apt-pkg / algorithms.cc
index c8696b8add3df50cfb232c331bbf429d7ba2ea02..adbec82f71a9d2eddf72d0f1b65e11f5e2c11350 100644 (file)
@@ -468,7 +468,7 @@ void pkgProblemResolver::MakeScores()
         if (D->Version != 0)
         {
            pkgCache::VerIterator const IV = Cache[T].InstVerIter(Cache);
-           if (IV.end() == true || D.IsSatisfied(IV) != D.IsNegative())
+           if (IV.end() == true || D.IsSatisfied(IV) == false)
               continue;
         }
         Scores[T->ID] += DepMap[D->Type];