summaryrefslogtreecommitdiff
path: root/python/src/sa/rule.pxi
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/sa/rule.pxi')
-rw-r--r--python/src/sa/rule.pxi2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/src/sa/rule.pxi b/python/src/sa/rule.pxi
index 98fbac76..4f0ea74f 100644
--- a/python/src/sa/rule.pxi
+++ b/python/src/sa/rule.pxi
@@ -189,4 +189,4 @@ cdef class Rule:
def alignments(self):
for point in self.word_alignments:
- yield point/65536, point%65536
+ yield point / ALIGNMENT_CODE, point % ALIGNMENT_CODE