|
did_mutate = it->MutateTraits(a_Parameters.NeuronTraits, a_RNG); |
Should be did_mutate |= true
As it stands this code will set did_mutate to the result for the last neuron, rather than the OR value of all the nueron mutation results, which is presumably what's desired. This error is repeated throughout the remainder of the code.
MultiNEAT/src/Genome.cpp
Line 2697 in 0dc93aa
Should be
did_mutate |= trueAs it stands this code will set
did_mutateto the result for the last neuron, rather than the OR value of all the nueron mutation results, which is presumably what's desired. This error is repeated throughout the remainder of the code.