Skip to content

selection fix when zero mutation/cx selected#105

Merged
nickotto merged 1 commit intoEpistasisLab:devfrom
perib:dev
Oct 25, 2023
Merged

selection fix when zero mutation/cx selected#105
nickotto merged 1 commit intoEpistasisLab:devfrom
perib:dev

Conversation

@perib
Copy link
Collaborator

@perib perib commented Oct 25, 2023

[please review the Contribution Guidelines prior to submitting your pull request. go ahead and delete this line if you've already reviewed said guidelines.]

What does this PR do?

Previously, with small generations, it was possible for zero mutation or crossover operations to be chosen in baseevolver. This would cause a crash as the code assumed at least one of each. This PR fixes that.

@nickotto nickotto marked this pull request as ready for review October 25, 2023 18:30
@nickotto nickotto merged commit ab4720f into EpistasisLab:dev Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants