diff options
Diffstat (limited to 'src/mlp_train.h')
-rw-r--r-- | src/mlp_train.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mlp_train.h b/src/mlp_train.h index 2786b40d..49404158 100644 --- a/src/mlp_train.h +++ b/src/mlp_train.h @@ -36,7 +36,7 @@ static inline double tansig_double(double x) { return 2./(1.+exp(-2.*x)) - 1.; } -static inline void build_tansig_table() +static inline void build_tansig_table(void) { int i; for (i=0;i<501;i++) @@ -59,7 +59,7 @@ static inline double tansig_approx(double x) return y; } -inline float randn(float sd) +static inline float randn(float sd) { float U1, U2, S, x; do { |