Skip to content

Commit

Permalink
moved math.h below isinf so that Windows make works
Browse files Browse the repository at this point in the history
  • Loading branch information
andland committed Dec 17, 2015
1 parent 2e0c0f8 commit 91f8504
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/util/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#ifndef UTIL_H_
#define UTIL_H_

#include <math.h>
#include <vector>
#include <ctime>

Expand All @@ -46,6 +45,8 @@ namespace std {
}
#endif

#include <math.h>

double sqr(double d) { return d*d; }

double sigmoid(double d) { return (double)1.0/(1.0+exp(-d)); }
Expand Down

0 comments on commit 91f8504

Please sign in to comment.