Slight stylistic tweak to LSI initialisation.

Recommended-by: parkr
This commit is contained in:
Jashank Jeremy 2013-01-11 20:02:31 +11:00
parent 85f2dfffa6
commit 68333cd221
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ module Jekyll
if self.site.lsi
self.class.lsi ||= begin
puts "Starting the classifier..."
lsi = Classifier::LSI.new :auto_rebuild => false
lsi = Classifier::LSI.new(:auto_rebuild => false)
$stdout.print(" Populating LSI... ");$stdout.flush
posts.each { |x| $stdout.print(".");$stdout.flush;lsi.add_item(x) }
$stdout.print("\n Rebuilding LSI index... ")