mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-08-16 15:00:33 +03:00
compile error on Centos 6
This commit is contained in:
parent
a6535a6d20
commit
7c62f9c8a4
@ -1 +0,0 @@
|
||||
|
@ -346,7 +346,7 @@ static void GetBestHypothesis(size_t vertexId, const Graph& graph, const vector<
|
||||
|
||||
void Viterbi(const Graph& graph, const SparseVector& weights, float bleuWeight, const ReferenceSet& references , size_t sentenceId, const std::vector<FeatureStatsType>& backgroundBleu, HgHypothesis* bestHypo)
|
||||
{
|
||||
BackPointer init(NULL,kMinScore);
|
||||
BackPointer init((const Edge*) NULL,kMinScore);
|
||||
vector<BackPointer> backPointers(graph.VertexSize(),init);
|
||||
HgBleuScorer bleuScorer(references, graph, sentenceId, backgroundBleu);
|
||||
vector<FeatureStatsType> winnerStats(kBleuNgramOrder*2+1);
|
||||
|
Loading…
Reference in New Issue
Block a user