summaryrefslogtreecommitdiff
path: root/python/src/sa/rule.pxi
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2013-06-20 01:28:43 +0200
committerPatrick Simianer <p@simianer.de>2013-06-20 01:28:43 +0200
commit64fc39f97b62d9575eeb8da8067b1b09b71c0f84 (patch)
tree7475ae5578f40d3deabeef4532e3a81e2c662ad5 /python/src/sa/rule.pxi
parent3b9f1972dd2c0874c5845b68f9bd7f955b6d67eb (diff)
parent0dc7755f7fb1ef15db5a60c70866aa61b6367898 (diff)
Merge remote-tracking branch 'upstream/master'
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