From be912d73c880e9863c6525156707a4576443ac34 Mon Sep 17 00:00:00 2001 From: Ryoki Hamano Date: Tue, 3 Sep 2024 14:59:36 +0900 Subject: [PATCH] Update _mapcma.py --- cmaes/_mapcma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmaes/_mapcma.py b/cmaes/_mapcma.py index c40ceb5..08dcf72 100644 --- a/cmaes/_mapcma.py +++ b/cmaes/_mapcma.py @@ -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( [