Included cmath in common.hpp to avoid isnan complaints from the xcode compiler
authorqipeng <pengrobertqi@163.com>
Thu, 31 Jul 2014 23:43:21 +0000 (16:43 -0700)
committerqipeng <pengrobertqi@163.com>
Fri, 1 Aug 2014 07:25:54 +0000 (00:25 -0700)
include/caffe/common.hpp

index ff8649a..58f500d 100644 (file)
@@ -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.