summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFisher Yu <i@yf.io>2015-12-28 22:46:49 -0500
committerFisher Yu <i@yf.io>2015-12-28 22:46:49 -0500
commit708c1a122c33bd35b0d53630fb74965488e1947a (patch)
tree6ce098c895c5804e774b8f1a7eb2293f0b52622f /tools
parent08c5dfd53e6fd98148d6ce21e590407e38055984 (diff)
downloadcaffeonacl-708c1a122c33bd35b0d53630fb74965488e1947a.tar.gz
caffeonacl-708c1a122c33bd35b0d53630fb74965488e1947a.tar.bz2
caffeonacl-708c1a122c33bd35b0d53630fb74965488e1947a.zip
remove extra space before +
Diffstat (limited to 'tools')
-rw-r--r--tools/caffe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/caffe.cpp b/tools/caffe.cpp
index 305cfc36..6b342ace 100644
--- a/tools/caffe.cpp
+++ b/tools/caffe.cpp
@@ -164,7 +164,7 @@ int train() {
if (FLAGS_gpu.size() == 0
&& solver_param.solver_mode() == caffe::SolverParameter_SolverMode_GPU) {
if (solver_param.has_device_id()) {
- FLAGS_gpu = "" +
+ FLAGS_gpu = "" +
boost::lexical_cast<string>(solver_param.device_id());
} else { // Set default GPU if unspecified
FLAGS_gpu = "" + boost::lexical_cast<string>(0);