summaryrefslogtreecommitdiff
path: root/training/optimize.cc
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-09-22 18:15:39 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-09-22 18:15:39 +0000
commit716356a5de1eb7d066d511af51b76e1294609d87 (patch)
treeb95ee704bdeac4e4b730e6e63f64fd34db54db64 /training/optimize.cc
parent1cc6a37d1a93cbcb14a980fc64d7bdbe6db486fd (diff)
mpi support for training
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@654 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'training/optimize.cc')
-rw-r--r--training/optimize.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/training/optimize.cc b/training/optimize.cc
index 1377caa6..f0740d5c 100644
--- a/training/optimize.cc
+++ b/training/optimize.cc
@@ -19,7 +19,6 @@ void BatchOptimizer::Save(ostream* out) const {
void BatchOptimizer::Load(istream* in) {
in->read((char*)&eval_, sizeof(eval_));
- ++eval_;
in->read((char*)&has_converged_, sizeof(has_converged_));
LoadImpl(in);
unsigned int magic = 0; // should be uint32_t