Skip to content

For loop overwrites did_mutate every iteration #61

@jherico

Description

@jherico

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions