* Remove short-circuiting of initial_size argument for PointerHash

This commit is contained in:
Matthew Honnibal 2014-09-15 01:30:49 +02:00
parent f3393cf57c
commit bd08cb09a2

View File

@ -6,7 +6,6 @@ cimport cython
cdef class PointerHash: cdef class PointerHash:
def __cinit__(self, size_t initial_size=8): def __cinit__(self, size_t initial_size=8):
self.size = initial_size self.size = initial_size
self.size = 8
self.filled = 0 self.filled = 0
self._last = NULL self._last = NULL
# Size must be power of two # Size must be power of two