diff options
author | MosesAdmin <moses-support-owner@mit.edu> | 2017-03-24 03:01:33 +0300 |
---|---|---|
committer | MosesAdmin <moses-support-owner@mit.edu> | 2017-03-24 03:01:33 +0300 |
commit | 4a404b1fe24b86d818ea6efa041e4f35a8c64a34 (patch) | |
tree | 032c937d9470de84a10c3c318ad2022796935cac /moses | |
parent | b51c5668f54c53e1226435d8fd7dcba235e9b3c9 (diff) |
daily automatic beautifier
Diffstat (limited to 'moses')
-rw-r--r-- | moses/StaticData.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/moses/StaticData.cpp b/moses/StaticData.cpp index 6cf000c53..b65c22eb4 100644 --- a/moses/StaticData.cpp +++ b/moses/StaticData.cpp @@ -424,11 +424,10 @@ LoadDecodeGraphsOld(const vector<string> &mappingVector, DecodeGraph *decodeGraph; if (is_syntax(m_options->search.algo)) { size_t maxChartSpan; - if (decodeGraphInd < maxChartSpans.size()) { + if (decodeGraphInd < maxChartSpans.size()) { maxChartSpan = maxChartSpans[decodeGraphInd]; VERBOSE(1,"max-chart-span: " << maxChartSpans[decodeGraphInd] << endl); - } - else { + } else { maxChartSpan = DEFAULT_MAX_CHART_SPAN; } decodeGraph = new DecodeGraph(m_decodeGraphs.size(), maxChartSpan); |