fix bug in StateC.set_break()

This commit is contained in:
Wolfgang Seeker 2016-05-05 15:15:34 +02:00
parent 3c44b5dc1a
commit dbf8f5f3ec
1 changed files with 2 additions and 2 deletions

View File

@ -281,8 +281,8 @@ cdef cppclass StateC:
this._sent[i].ent_type = ent_type
void set_break(int i) nogil:
if 0 <= this.B(0) < this.length:
this._sent[this.B(0)].sent_start = True
if 0 <= i < this.length:
this._sent[i].sent_start = True
this._break = this._b_i
void clone(const StateC* src) nogil: