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/vw
diff options
context:
space:
mode:
authorAles Tamchyna <tamchyna@ufal.mff.cuni.cz>2015-01-09 14:06:02 +0300
committerAles Tamchyna <tamchyna@ufal.mff.cuni.cz>2015-01-09 14:06:02 +0300
commit032d9ca6071e6f150ad74bb9d105daecfd5fe9c2 (patch)
tree651d2163bd78b36f2f74b7f84647c7dac3523097 /vw
parentd3ad3972f7993ce8d392f69740e720c24381bb1a (diff)
minor
Diffstat (limited to 'vw')
-rw-r--r--vw/VWTrainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vw/VWTrainer.cpp b/vw/VWTrainer.cpp
index 1c22d60e2..42ba80127 100644
--- a/vw/VWTrainer.cpp
+++ b/vw/VWTrainer.cpp
@@ -19,6 +19,7 @@ VWTrainer::VWTrainer(const std::string &outputFile)
VWTrainer::~VWTrainer()
{
+ m_bfos << "\n";
close(m_bfos);
}
@@ -62,7 +63,6 @@ void VWTrainer::Train(const StringPiece &label, float loss)
m_isFirstSource = true;
m_isFirstTarget = true;
WriteBuffer();
- m_bfos << "\n";
}
float VWTrainer::Predict(const StringPiece &label)