Borland is giving me a warning for some reason. Not sure why??
Has anyone come across this warning before please?
"Functions containing for are not expanded inline"
Here is part of my code with one of the for loops it seems to be complaining about:
Neuron(unsigned int numI)
neuronNumInputs = numI;
for(unsigned int i=0; i<neuronNumInputs; i++)
double produceOutput(const vector<double>& inputs)
assert(neuronNumInputs == inputs.size());
double activation = 0;
for(unsigned int i=0; i<inputs.size(); i++)
activation += vecWeights[i]*inputs[i];
double neuronOutput = 1/(1 + exp(-activation));
private: // Encapsulate variables
unsigned int neuronNumInputs;