Skip to content

Commit

Permalink
fix compilation under gcc-5 (apache#4346)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored and piiswrong committed Dec 29, 2016
1 parent 02cd2da commit c91f948
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/operator/mshadow_op.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace mshadow_op {
__constant__ const float PI = 3.14159265358979323846;
#else
const float PI = 3.14159265358979323846;
using std::isnan;
#endif

/*! \brief identity Operation */
Expand Down

0 comments on commit c91f948

Please sign in to comment.