Skip to content

Assert runtime invariant: all individuals in MuPlusLambda::step need to have a non-None index #375

@jakobj

Description

@jakobj

The logic in MuPlusLambda (and likely in other places) assumes that all individuals in a population have been assigned a valid index. We should thus make sure of this in the beginning of this function using an assert.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions