Commit 16b211cb authored by Jan Trmal's avatar Jan Trmal
Browse files

(trunk) Bugfix -- in some cases the eg would loose the correct id

git-svn-id: 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 7047c622
......@@ -83,6 +83,7 @@ int main(int argc, char *argv[]) {
new NnetExample(example_reader.Value()));
} else {
example_writer.Write(egs[index].first, *(egs[index].second));
egs[index].first = example_reader.Key();
*(egs[index].second) = example_reader.Value();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment