chiark
/
gitweb
/
~ijackson
/
ypp-sc-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
388e806
)
routesearch: use least specific granu for quickelim
author
Ian Jackson
<ian@liberator.(none)>
Wed, 14 Oct 2009 20:21:19 +0000
(21:21 +0100)
committer
Ian Jackson
<ian@liberator.(none)>
Wed, 14 Oct 2009 20:21:19 +0000
(21:21 +0100)
yarrg/rssearch.c
patch
|
blob
|
history
diff --git
a/yarrg/rssearch.c
b/yarrg/rssearch.c
index 91bbc22cf76bdba7d24ff2ad0529adf8929d1638..5ad6136180fa528ab220c06b8c74ad78771954af 100644
(file)
--- a/
yarrg/rssearch.c
+++ b/
yarrg/rssearch.c
@@
-79,8
+79,8
@@
static double process_route(int nports, int totaldist,
return guess[A];
}
- if (guess[A] <= highscores[
mingranu
][A][0].value &&
- guess[P] <= highscores[
mingranu
][P][0].value) {
+ if (guess[A] <= highscores[
GRANUS-1
][A][0].value &&
+ guess[P] <= highscores[
GRANUS-1
][P][0].value) {
ctr_routes_quickelim++;
debugf(" QELIM %f %f\n", guess[A], guess[P]);
return guess[A];