summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-01-20 10:39:00 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-01-20 10:39:38 +0200
commit0f895650996a2565c0dc59d3c94f861145b42c05 (patch)
treed91b5d2f8174892161f8f448f1ec76dcc1f2be72 /src/database.c
parent00fd7b07f12a18615da1ad32b915787f72074dfa (diff)
downloadapk-tools-0f895650996a2565c0dc59d3c94f861145b42c05.tar.gz
apk-tools-0f895650996a2565c0dc59d3c94f861145b42c05.tar.bz2
apk-tools-0f895650996a2565c0dc59d3c94f861145b42c05.tar.xz
apk-tools-0f895650996a2565c0dc59d3c94f861145b42c05.zip
solver: fix regression from "calculate branch minimum penalty early"
Forgot to reset per-name penalty when it got locked by apply_decision. This also fine tunes compare_package_preference() to always prefer packages specified on command line speeding up calculation certain complicated solutions.
Diffstat (limited to 'src/database.c')
0 files changed, 0 insertions, 0 deletions