mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
* Remove short-circuiting of initial_size argument for PointerHash
This commit is contained in:
parent
f3393cf57c
commit
bd08cb09a2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user