From bd08cb09a286b2508c649d8db902d3f4be3c4ead Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 15 Sep 2014 01:30:49 +0200 Subject: [PATCH] * Remove short-circuiting of initial_size argument for PointerHash --- spacy/_hashing.pyx | 1 - 1 file changed, 1 deletion(-) diff --git a/spacy/_hashing.pyx b/spacy/_hashing.pyx index 250a963eb..0b196ab4e 100644 --- a/spacy/_hashing.pyx +++ b/spacy/_hashing.pyx @@ -6,7 +6,6 @@ cimport cython cdef class PointerHash: def __cinit__(self, size_t initial_size=8): self.size = initial_size - self.size = 8 self.filled = 0 self._last = NULL # Size must be power of two