Open jherico opened 4 years ago
https://github.com/peter-ch/MultiNEAT/blob/0dc93aa0e228e23eeb95371bdd3838c64f08fdae/src/Genome.cpp#L2697
Should be did_mutate |= true
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.
did_mutate
Yes, thanks, I'll fix that.
https://github.com/peter-ch/MultiNEAT/blob/0dc93aa0e228e23eeb95371bdd3838c64f08fdae/src/Genome.cpp#L2697
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.