lib/picky/query/combinations/base.rb in picky-3.0.0.pre5 vs lib/picky/query/combinations/base.rb in picky-3.0.0
- old
+ new
@@ -32,10 +32,10 @@
end
def total_score
@combinations.sum &:weight
end
def weighted_score weights
- weights.score @combinations
+ weights.score_for @combinations
end
# Filters the tokens and identifiers such that only identifiers
# that are passed in, remain, including their tokens.
#
\ No newline at end of file