Skip to content

Commit 6e0f36d

Browse files
committed
Update ga.jl
1 parent 006d363 commit 6e0f36d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ga.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Floating number specifies fraction of population.
1111
- `selection`: [Selection](@ref) function (default: [`tournament`](@ref))
1212
- `crossover`: [Crossover](@ref) function (default: [`genop`](@ref))
1313
- `mutation`: [Mutation](@ref) function (default: [`genop`](@ref))
14-
- `after_op`: a function that is executed on each individual afrer mutation operations (default: `identity`)
14+
- `after_op`: a function that is executed on each individual after mutation operations (default: `identity`)
1515
- `metrics` is a collection of convergence metrics.
1616
"""
1717
struct GA{T1,T2,T3,T4} <: AbstractOptimizer
@@ -77,7 +77,7 @@ function update_state!(objfun, constraints, state, parents::AbstractVector{IT},
7777
populationSize = method.populationSize
7878
rng = options.rng
7979

80-
# create an offspring popultation
80+
# create an offspring population
8181
offspring = similar(parents)
8282

8383
# select offspring

0 commit comments

Comments
 (0)