Skip to content

For loop overwrites did_mutate every iteration #61

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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