diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 2ebfec9..cc1f423 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -2645,7 +2645,7 @@ if !has_key(s:disabled_packages, 'autoindent')
let max_count = 0
let final_counts = {}
for [indent, indent_count] in items(a:indents)
- let indent_count *= 1.5
+ let indent_count = indent_count * 1.5
for [indent2, indent2_count] in items(a:indents)
if indent2 > indent && indent2 % indent == 0
let indent_count += indent2_count