Merge commit 'c31d67'

This commit is contained in:
Tom Preston-Werner 2008-12-10 15:51:14 -08:00
commit 3041cf6ad4
1 changed files with 2 additions and 1 deletions

View File

@ -96,6 +96,7 @@ module Jekyll
#
# 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
@ -145,4 +146,4 @@ module Jekyll
end
end
end
end