diff --git a/spacy/ml/parser_model.pyx b/spacy/ml/parser_model.pyx index 8bb1ad4a6..5231db166 100644 --- a/spacy/ml/parser_model.pyx +++ b/spacy/ml/parser_model.pyx @@ -133,7 +133,7 @@ cdef void predict_states( ) # Add bias for i in range(n.states): - saxpy(cblas)(n.classes, 1., W.hidden_bias, 1, &scores[i*n.classes], 1) + saxpy(cblas)(n.classes, 1., W.hidden_bias, 1, &A.scores[i*n.classes], 1) # Set unseen classes to minimum value i = 0 min_ = A.scores[0]