Skip to content

Commit

Permalink
Merge commit 'c31d67'
Browse files Browse the repository at this point in the history
  • Loading branch information
mojombo committed Dec 10, 2008
2 parents 436ada3 + c31d676 commit 3041cf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/jekyll/post.rb
Expand Up @@ -96,6 +96,7 @@ def id
#
# Returns [<Post>]
def related_posts(posts)
return [] unless posts.size > 1
self.class.lsi ||= begin
puts "Running the classifier... this could take a while."
lsi = Classifier::LSI.new
Expand Down Expand Up @@ -145,4 +146,4 @@ def to_liquid
end
end

end
end

0 comments on commit 3041cf6

Please sign in to comment.