Skip to content
Snippets Groups Projects
Commit 38e1408e authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

quick fix

parent 9dace023
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@ class StructuralAttribute(Attribute):
rc_rbound = \
self.cpos_by_id(min((last_id + context), (self.size - 1)))[1]
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)
cpos_list_rbound = rc_rbound
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment