mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
Added missing headers.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user