projects
/
platform
/
upstream
/
caffe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
446aa21
)
Included cmath in common.hpp to avoid isnan complaints from the xcode compiler
author
qipeng
<pengrobertqi@163.com>
Thu, 31 Jul 2014 23:43:21 +0000
(16:43 -0700)
committer
qipeng
<pengrobertqi@163.com>
Fri, 1 Aug 2014 07:25:54 +0000
(
00:25
-0700)
include/caffe/common.hpp
patch
|
blob
|
history
diff --git
a/include/caffe/common.hpp
b/include/caffe/common.hpp
index
ff8649a
..
58f500d
100644
(file)
--- a/
include/caffe/common.hpp
+++ b/
include/caffe/common.hpp
@@
-10,6
+10,8
@@
#include <set>
#include <string>
+#include <cmath>
+
#include "caffe/util/device_alternate.hpp"
// Disable the copy and assignment operator for a class.