Skip to content

Commit

Permalink
Update _mapcma.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ha-mano committed Sep 3, 2024
1 parent df97ad9 commit be912d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmaes/_mapcma.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __init__(

mu = population_size // 2

# MAPCMA uses positive weights
# MAPCMA uses positive weights, in accordance with the paper
# (CMA uses negative weights)
weights_prime = np.array(
[
Expand Down

0 comments on commit be912d7

Please sign in to comment.