Skip to content

Commit

Permalink
Merge pull request #66 from jbytecode/master
Browse files Browse the repository at this point in the history
fix example in docs
  • Loading branch information
jmejia8 authored Jan 27, 2023
2 parents 2c60d33 + 1f06cde commit 32ac5c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/MCCGA/MCCGA.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ julia> result = optimize(f, bounds, MCCGA())
julia> using Metaheuristics
julia> function f(x::Vector{Float64})::Float64 = (x[1]-pi)^2 + (x[2]-exp(1))^2
julia> f(x::Vector{Float64})::Float64 = (x[1]-pi)^2 + (x[2]-exp(1))^2
julia> bounds = [ -500.0 -500.0;
500.0 500.0]
Expand Down

0 comments on commit 32ac5c3

Please sign in to comment.