Skip to content

Commit 96c8d40

Browse files
committed
fix typo
1 parent 4147bdc commit 96c8d40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stochopy/optimize/na/_na.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,8 @@ def mutation(Xall, Xallfit, popsize, ndim, nr, span_mask):
261261

262262
for j in range(ndim):
263263
if not span_mask[j]:
264-
X[i, j] = 0.0 # Value does not matter as it will be fixed by unnormalize
264+
# Value does not matter as it will be fixed by unnormalize
265+
X[i, j] = 0.0
265266
continue
266267

267268
lim = 0.5 * (Xall[k, j] + U[:, j] + (d1 - d2) / (Xall[k, j] - U[:, j]))

0 commit comments

Comments
 (0)