From 8c15185812efc58c32dca00a97e93edfbddd1dce Mon Sep 17 00:00:00 2001 From: qipeng Date: Thu, 31 Jul 2014 16:43:21 -0700 Subject: [PATCH] Included cmath in common.hpp to avoid isnan complaints from the xcode compiler --- include/caffe/common.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/caffe/common.hpp b/include/caffe/common.hpp index ff8649ad2a1..58f500d0984 100644 --- a/include/caffe/common.hpp +++ b/include/caffe/common.hpp @@ -10,6 +10,8 @@ #include #include +#include + #include "caffe/util/device_alternate.hpp" // Disable the copy and assignment operator for a class.