Skip to content

Commit

Permalink
Merge pull request #100 from mcamilletti1/margarets-branch
Browse files Browse the repository at this point in the history
fixed typo in DE.jl
  • Loading branch information
jmejia8 authored Jan 20, 2024
2 parents 44280a8 + 4afbfe1 commit 2e2802f
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 2e2802f

Please sign in to comment.