Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2014-01-31 03:55:25 +0400
committerKenneth Heafield <github@kheafield.com>2014-01-31 03:55:25 +0400
commit29f02c597fcfff85fb01e539a3c8fae2a3883b7b (patch)
tree95d87bd240fe353b389f1fae334b51c6e0b97a6a /util
parentdf8b179b7a14727c9b3bb7446d50a53b3ee21a51 (diff)
Fix progress bar for compressed files
Diffstat (limited to 'util')
-rw-r--r--util/read_compressed.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/read_compressed.cc b/util/read_compressed.cc
index 5b87a6fba..71ef0e251 100644
--- a/util/read_compressed.cc
+++ b/util/read_compressed.cc
@@ -421,6 +421,7 @@ ReadCompressed::ReadCompressed() {}
ReadCompressed::~ReadCompressed() {}
void ReadCompressed::Reset(int fd) {
+ raw_amount_ = 0;
internal_.reset();
internal_.reset(ReadFactory(fd, raw_amount_, NULL, 0, false));
}