Skip to content

Commit

Permalink
fixed typo in DE.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mcamilletti1 committed Jan 20, 2024
1 parent 44280a8 commit 4afbfe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/DE/DE.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function update_state!(
rng = options.rng
# stepsize
if parameters.F_min < parameters.F_max
F = parameters.F_min + (F_max - parameters.F_min) * rand(rng)
F = parameters.F_min + (parameters.F_max - parameters.F_min) * rand(rng)
end

if parameters.CR_min < parameters.CR_max
Expand Down

0 comments on commit 4afbfe1

Please sign in to comment.