From b6d4eef7d31e357bc59e40655123138806535704 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Mon, 13 Jul 2015 18:49:28 +0200
Subject: more dense features
---
training/dtrain/dtrain_net_interface.cc | 2 +-
training/dtrain/dtrain_net_interface.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'training')
diff --git a/training/dtrain/dtrain_net_interface.cc b/training/dtrain/dtrain_net_interface.cc
index 3b19ecbf..38fad160 100644
--- a/training/dtrain/dtrain_net_interface.cc
+++ b/training/dtrain/dtrain_net_interface.cc
@@ -218,7 +218,7 @@ main(int argc, char** argv)
// debug --
WriteFile f(debug_fn);
- *f << debug_output.str();
+ f.get() << debug_output.str();
// -- debug
// write current weights
diff --git a/training/dtrain/dtrain_net_interface.h b/training/dtrain/dtrain_net_interface.h
index e603a87f..eb0aa668 100644
--- a/training/dtrain/dtrain_net_interface.h
+++ b/training/dtrain/dtrain_net_interface.h
@@ -64,7 +64,7 @@ dtrain_net_init(int argc, char** argv, po::variables_map* conf)
("input_weights,w", po::value