]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Allow auto-minimization with the same level
authorMichael Schroeder <mls@suse.de>
Thu, 26 Feb 2015 17:13:26 +0000 (18:13 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 26 Feb 2015 17:13:26 +0000 (18:13 +0100)
This is for some odd case where one of the possible packages
requires the other one.

src/solver.c

index d340b7ec3e6be8c7ccc3946c4fe757d64facc532..3dce8d0bcbd5d3484d18a05542be481ba3896297 100644 (file)
@@ -2876,7 +2876,7 @@ solver_run_sat(Solver *solv, int disablerules, int doweak)
                  p = solv->branches.elements[i];
                  if (p <= 0)
                    continue;
-                 if (solv->decisionmap[p] > l + 1)
+                 if (solv->decisionmap[p] > l)
                    {
                      lasti = i;
                      lastiend = endi;