Browse Source

Unknown symbols now have zero weight not 1.0.

tags/0.6.7
Vsevolod Stakhov 10 years ago
parent
commit
c5e10a0843
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/filter.c

+ 1
- 1
src/filter.c View File

@@ -89,7 +89,7 @@ insert_metric_result (struct worker_task *task, struct metric *metric, const gch
weight = g_hash_table_lookup (metric->symbols, symbol);
if (weight == NULL) {
w = 1.0 * flag;
w = 0.0;
}
else {
w = (*weight) * flag;

Loading…
Cancel
Save