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
commit20f46ca7b434aa569007c4da8d11988bd299e05b (patch)
treedaa81a2b58bfb2141ec0e351b75678dc5773ea03 /training/optimize.cc
parent0277e5da3aa444ced74af8085f3349f91d17e56f (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