mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Added missing headers.
This commit is contained in:
parent
6312a55bac
commit
81109b3897
@ -1,3 +1,5 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "neuralNetwork.h"
|
||||
//using namespace std;
|
||||
@ -6,7 +8,7 @@
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
float norm(void)//add desired mean, multiply to get desired SD
|
||||
static float norm(void)//add desired mean, multiply to get desired SD
|
||||
{
|
||||
static float kept = 0;
|
||||
static bool in = 0;
|
||||
@ -413,4 +415,4 @@ void neuralNetwork::backpropigate(double* pattern, double OLR, double H2LR, doub
|
||||
delete [] hiddenError1;
|
||||
delete [] hiddenError2;
|
||||
delete [] outputError;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user