-
-
Notifications
You must be signed in to change notification settings - Fork 12
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 #FIX-NEEDED #20
Comments
I went through the code for multi-mutation. The problem seems to be from the "gene" variable, can I get some sample test cases for running that specific function? |
@pratik1424 Sure just look at the expected behaviour. |
Okay, I'll try something, I will open a PR after fixing the bug. |
@pratik1424 Aare you working on it? |
I tried a couple of different implementations, but the bug still persists. |
👟 Reproduction steps
Implemented in: mulit_mutattion in ga_utils.py
Can be tested by replacing mutation with multi_mutation in ga.py.
👍 Expected behavior
Mulit_mutattion in ga_utils.py should change N bits as selected.
[1,2,3,4] for 2 bits could be: [1,3,3,5]
👎 Actual Behavior
Mulit_mutattion in ga_utils.py doesn't work as expected.
Gives an Index Error when used , since the implementation is not correct.
👀 Have you spent some time to check if this issue has been raised before?
The text was updated successfully, but these errors were encountered: