Skip to content

Commit

Permalink
- duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
floere committed Oct 11, 2010
1 parent b93ba76 commit b69f5a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/lib/picky/index/category.rb
Expand Up @@ -22,8 +22,8 @@ def initialize name, type, options = {}
@full = options[:full_bundle] || Bundle.new(:full, self, type, Cacher::Partial::None.new, weights, similarity)
@partial = options[:partial_bundle] || Bundle.new(:partial, self, type, partial, weights, Cacher::Similarity::None.new)

@full = options[:full_lambda].call(@full, @partial) if options[:full_lambda]
@partial = options[:partial_lambda].call(@full, @partial) if options[:partial_lambda]
@full = full_lambda.call(@full, @partial) if full_lambda = options[:full_lambda]
@partial = partial_lambda.call(@full, @partial) if partial_lambda = options[:partial_lambda]
end

# Loads the index from cache.
Expand Down

0 comments on commit b69f5a8

Please sign in to comment.