From 5188f6d9d8c3cef0d7eb213269c6a232ad8c091f Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 1 Feb 2016 08:48:48 +0100 Subject: [PATCH] * Fix parseC function --- spacy/syntax/parser.pyx | 1 - 1 file changed, 1 deletion(-) diff --git a/spacy/syntax/parser.pyx b/spacy/syntax/parser.pyx index f44b47d0e..ef50cb35c 100644 --- a/spacy/syntax/parser.pyx +++ b/spacy/syntax/parser.pyx @@ -158,7 +158,6 @@ cdef class Parser: raise ValueError("Illegal action: %s" % move_name) action.do(state, action.label) memset(eg.scores, 0, sizeof(eg.scores[0]) * eg.nr_class) - memset(eg.costs, 0, sizeof(eg.costs[0]) * eg.nr_class) for i in range(eg.nr_class): eg.is_valid[i] = 1 self.moves.finalize_state(state)