turns out you need using::isnan too
authorqipeng <pengrobertqi@163.com>
Fri, 1 Aug 2014 15:09:18 +0000 (08:09 -0700)
committerqipeng <pengrobertqi@163.com>
Fri, 1 Aug 2014 15:09:18 +0000 (08:09 -0700)
include/caffe/common.hpp

index 58f500d..789b3db 100644 (file)
@@ -81,6 +81,7 @@ using std::pair;
 using std::set;
 using std::string;
 using std::vector;
+using std::isnan;
 
 // A global initialization function that you should call in your main function.
 // Currently it initializes google flags and google logging.