Skip to content

Commit 677aa9d

Browse files
committed
headerdb: add comment stating that scores can be negative
1 parent 10a66c2 commit 677aa9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compdb/complementer/headerdb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ def score_other_file(a, b):
162162
"""Score the similarity of the given file to the other file.
163163
164164
Paths are expected absolute and normalized.
165+
Note that the score can be a negative value.
165166
"""
166167
a_dir, a_filename = os.path.split(os.path.splitext(a)[0])
167168
a_subwords = subword_split(a_filename)

0 commit comments

Comments
 (0)