8000 Bug fix · madprog/GeneticAlgorithmPython@c587ef5 · GitHub
[go: up one dir, main page]

Skip to content

Commit c587ef5

Browse files
committed
Bug fix
1 parent 1a46581 commit c587ef5

File tree

2 files changed

+2
-222
lines changed

2 files changed

+2
-222
lines changed

tests/adaptive_mutation.py

Lines changed: 0 additions & 222 deletions
This file was deleted.

tests/test_adaptive_mutation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ def fitness_func_batch_multi(ga, soluions, idxs):
7373
allow_duplicate_genes=True,
7474
mutation_by_replacement=mutation_by_replacement,
7575
save_solutions=True,
76+
## Use a static 'mutation_probability'.
77+
## An ambigius error in GitHub actions happen when using mutation_num_genes and mutation_probability. I do not know the reason.
7678
# mutation_num_genes=mutation_num_genes,
7779
mutation_probability=[0.2, 0.1],
7880
mutation_type=mutation_type,

0 commit comments

Comments
 (0)
0