Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selection fix when zero mutation/cx selected #105

Merged
merged 1 commit into from
Oct 25, 2023
Merged

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