From f62088d646e0d91dffbe87ede1c7dea210290602 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 23 Oct 2016 14:50:50 +0200 Subject: [PATCH] Fix compile error --- spacy/vocab.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/vocab.pyx b/spacy/vocab.pyx index 9af55790a..bbfe17599 100644 --- a/spacy/vocab.pyx +++ b/spacy/vocab.pyx @@ -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