Browse Source

Added C++ guards.

pull/3/head
Lewis Van Winkle 5 years ago
parent
commit
b6da170fa7
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      genann.h

+ 6
- 0
genann.h View File

@ -29,6 +29,9 @@
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef GENANN_RANDOM
/* We use the following for uniform random numbers between 0 and 1.
@ -99,5 +102,8 @@ double genann_act_sigmoid_cached(double a);
double genann_act_threshold(double a);
#ifdef __cplusplus
}
#endif
#endif /*__GENANN_H__*/

Loading…
Cancel
Save