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
commit38c38f707e58960f80a8dc216673ae0bb0796ade (patch)
tree0255d49b96f7b2cec46c7b7ac5e14b5224c64537 /python/src
parente828fab2b485dc0e50d9b9d5c5a599db695ce252 (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,