summaryrefslogtreecommitdiff
path: root/python/src
diff options
context:
space:
mode:
authorVictor Chahuneau <vchahune@cs.cmu.edu>2012-09-04 10:21:25 +0100
committerVictor Chahuneau <vchahune@cs.cmu.edu>2012-09-04 10:21:25 +0100
commitb774a1ce6aced0e17d308d775cb32ba18ab755a8 (patch)
tree5ac4e3edcbe3d7ad3d2283eb080e862a2f30091d /python/src
parent063152d73f2814be32dfa8e927fa00caf1af1855 (diff)
Multi-processing grammar extraction
+ various surface fixes
Diffstat (limited to 'python/src')
-rw-r--r--python/src/hypergraph.pxd2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/src/hypergraph.pxd b/python/src/hypergraph.pxd
index acab7244..dd3d39cc 100644
--- a/python/src/hypergraph.pxd
+++ b/python/src/hypergraph.pxd
@@ -38,7 +38,7 @@ cdef extern from "decoder/hg.h":
int GoalNode()
double NumberOfPaths()
void Reweight(vector[weight_t]& weights) nogil
- void Reweight(FastSparseVector& weights) nogil
+ void Reweight(FastSparseVector[weight_t]& weights) nogil
bint PruneInsideOutside(double beam_alpha,
double density,
EdgeMask* preserve_mask,