* Fix stateclass.queue

This commit is contained in:
Matthew Honnibal 2015-08-09 00:39:02 +02:00
parent 0ea08c4319
commit 0653288fa5

View File

@ -42,7 +42,7 @@ cdef class StateClass:
@property @property
def queue(self): def queue(self):
return {self.B(i) for i in range(self._b_i, self.length)} return {self.B(i) for i in range(self._b_i)}
cdef int E(self, int i) nogil: cdef int E(self, int i) nogil:
if self._e_i <= 0 or self._e_i >= self.length: if self._e_i <= 0 or self._e_i >= self.length: