* Whitespace

This commit is contained in:
Matthew Honnibal 2016-01-29 03:59:22 +01:00
parent b0718b6ee1
commit ea4ff94cde

View File

@ -123,11 +123,9 @@ cdef class Packer:
self._orth_decode(bits, length, doc)
else:
self._char_decode(bits, -length, doc)
array = numpy.zeros(shape=(len(doc), len(self._codecs)), dtype=numpy.int32)
for i, codec in enumerate(self._codecs):
codec.decode(bits, array[:, i])
doc.from_array(self.attrs, array)
return doc