summaryrefslogtreecommitdiff
path: root/python/src/sa/rule.pxi
diff options
context:
space:
mode:
authorEva Schlinger <eschling@andrew.cmu.edu>2013-06-07 13:28:07 -0400
committerEva Schlinger <eschling@andrew.cmu.edu>2013-06-07 13:28:07 -0400
commit0bedc0ef857b06e5913e38e75c096d42d1b6ad6f (patch)
tree11755b9a67cb95869e1ae418b48124b8974c446f /python/src/sa/rule.pxi
parent967d6ca6cc284bd1d292dee0c1374bce7052a872 (diff)
parent660eabae8886d3e09177749daaf4d4ac29178b0b (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