summaryrefslogtreecommitdiff
path: root/python/src/kbest.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'python/src/kbest.pxd')
-rw-r--r--python/src/kbest.pxd4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/src/kbest.pxd b/python/src/kbest.pxd
index cef42bd3..44ecfbab 100644
--- a/python/src/kbest.pxd
+++ b/python/src/kbest.pxd
@@ -16,5 +16,5 @@ cdef extern from "decoder/kbest.h" namespace "KBest":
cdef cppclass KBestDerivations[T, Traversal]:
cppclass Derivation:
T _yield "yield"
- KBestDerivations(Hypergraph& hg, unsigned k)
- Derivation* LazyKthBest(unsigned v, unsigned k)
+ KBestDerivations(Hypergraph& hg, unsigned k) nogil
+ Derivation* LazyKthBest(unsigned v, unsigned k) nogil