mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
Fix compile error
This commit is contained in:
parent
2c3a67b693
commit
f62088d646
|
@ -404,7 +404,7 @@ cdef class Vocab:
|
|||
norm = 0.0
|
||||
for i in range(vec_len):
|
||||
norm += lexeme.vector[i] * lexeme.vector[i]
|
||||
lex.l2_norm = sqrt(norm)
|
||||
lexeme.l2_norm = sqrt(norm)
|
||||
self.vectors_length = vec_len
|
||||
return vec_len
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user