Skip to content

Commit

Permalink
compile error on Centos 6
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuhoang committed Jan 20, 2017
1 parent a6535a6 commit 7c62f9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.

This file was deleted.

2 changes: 1 addition & 1 deletion mert/ForestRescore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7c62f9c

Please sign in to comment.