diff options
author | Ales Tamchyna <tamchyna@ufal.mff.cuni.cz> | 2015-01-09 14:06:02 +0300 |
---|---|---|
committer | Ales Tamchyna <tamchyna@ufal.mff.cuni.cz> | 2015-01-09 14:06:02 +0300 |
commit | 032d9ca6071e6f150ad74bb9d105daecfd5fe9c2 (patch) | |
tree | 651d2163bd78b36f2f74b7f84647c7dac3523097 /vw | |
parent | d3ad3972f7993ce8d392f69740e720c24381bb1a (diff) |
minor
Diffstat (limited to 'vw')
-rw-r--r-- | vw/VWTrainer.cpp | 2 |
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) |