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

[fix] index comparison with correct collection size #20

Closed
wants to merge 3 commits into from
Closed

[fix] index comparison with correct collection size #20

wants to merge 3 commits into from

Conversation

dariogoetz
Copy link
Contributor

I received an index out of bounds error when using an OrderOneCrossover operator: index out of bounds: the len is 2 but the index is 2.
I believe, this is due to the second index p2_index in the cyclic crossover function being compared to the wrong vector's size.

@dariogoetz dariogoetz closed this Jun 14, 2021
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.

None yet

1 participant