diff options
author | Chris Dyer <redpony@gmail.com> | 2015-03-03 01:14:07 -0500 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2015-03-03 01:14:07 -0500 |
commit | 6cbdccb1d9a62b2723b962ba4b6e66f1631e48d3 (patch) | |
tree | 686d2e294f8a69cad620fced60106fcb1f6cac8e /training/minrisk/minrisk_optimize.cc | |
parent | 24cee877f2bb4b490495ea578564d0266b1addd3 (diff) |
migration to cmake
Diffstat (limited to 'training/minrisk/minrisk_optimize.cc')
-rw-r--r-- | training/minrisk/minrisk_optimize.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/training/minrisk/minrisk_optimize.cc b/training/minrisk/minrisk_optimize.cc index a2938fb0..f90c7118 100644 --- a/training/minrisk/minrisk_optimize.cc +++ b/training/minrisk/minrisk_optimize.cc @@ -163,7 +163,7 @@ int main(int argc, char** argv) { cerr << "Loading hypergraphs...\n"; while(getline(in, line)) { istringstream is(line); - int sent_id; + int sent_id = 0; kis.resize(kis.size() + 1); training::CandidateSet& curkbest = kis.back(); string kbest_file; |