Skip to content

Commit

Permalink
Included cmath in common.hpp to avoid isnan complaints from the xcode…
Browse files Browse the repository at this point in the history
… compiler
  • Loading branch information
qipeng committed Aug 1, 2014
1 parent 446aa21 commit 8c15185
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/caffe/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8c15185

Please sign in to comment.