Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
keurfonluu committed Nov 22, 2021
1 parent 4147bdc commit 96c8d40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stochopy/optimize/na/_na.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ def mutation(Xall, Xallfit, popsize, ndim, nr, span_mask):

for j in range(ndim):
if not span_mask[j]:
X[i, j] = 0.0 # Value does not matter as it will be fixed by unnormalize
# Value does not matter as it will be fixed by unnormalize
X[i, j] = 0.0
continue

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

0 comments on commit 96c8d40

Please sign in to comment.