mirror of
https://github.com/codeplea/genann
synced 2024-11-22 06:21:47 +03:00
Added C++ guards.
This commit is contained in:
parent
850f080045
commit
b6da170fa7
6
genann.h
6
genann.h
@ -29,6 +29,9 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GENANN_RANDOM
|
#ifndef GENANN_RANDOM
|
||||||
/* We use the following for uniform random numbers between 0 and 1.
|
/* 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);
|
double genann_act_threshold(double a);
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /*__GENANN_H__*/
|
#endif /*__GENANN_H__*/
|
||||||
|
Loading…
Reference in New Issue
Block a user