mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
quick fix
This commit is contained in:
parent
9dace02378
commit
38e1408e01
@ -140,7 +140,7 @@ class StructuralAttribute(Attribute):
|
|||||||
rc_rbound = \
|
rc_rbound = \
|
||||||
self.cpos_by_id(min((last_id + context), (self.size - 1)))[1]
|
self.cpos_by_id(min((last_id + context), (self.size - 1)))[1]
|
||||||
if rc_rbound != last_cpos:
|
if rc_rbound != last_cpos:
|
||||||
rc_lbound = min((last_cpos + 1), (self.size - 1))
|
rc_lbound = min((last_cpos + 1), (self.corpus.size - 1))
|
||||||
rc = (rc_lbound, rc_rbound)
|
rc = (rc_lbound, rc_rbound)
|
||||||
cpos_list_rbound = rc_rbound
|
cpos_list_rbound = rc_rbound
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user