Skip to content

Commit

Permalink
fixed docs refs and kw parameter for older Julia versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wildart committed Oct 30, 2021
1 parent 32df361 commit 71d4d34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/crossover.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ Evolutionary.crosstree

[^5]: K. Deep, K. P. Singh, M. L. Kansal, and C. Mohan, "A real coded genetic algorithm for solving integer and mixed integer optimization problems.", Appl. Math. Comput. 212, 505-518, 2009

[^6] K. Deb, R. B. Agrawal, "Simulated Binary Crossover for Continuous Search Space", Complex Syst., 9., 1995
[^6]: K. Deb, R. B. Agrawal, "Simulated Binary Crossover for Continuous Search Space", Complex Syst., 9., 1995
2 changes: 1 addition & 1 deletion docs/src/mutation.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ shrink

[^8]: P. J. Angeline, "An investigation into the sensitivity of genetic programming to the frequency of leaf selection during subtree crossover", Genetic Programming 1996: Proceedings of the First Annual Conference, 21–29, 1996.

[^9] K. Deb, R. B. Agrawal, "Simulated Binary Crossover for Continuous Search Space", Complex Syst., 9., 1995
[^9]: K. Deb, R. B. Agrawal, "Simulated Binary Crossover for Continuous Search Space", Complex Syst., 9., 1995
2 changes: 1 addition & 1 deletion src/mutations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function PLM(Δ::Vector, η=2; pm::Real=NaN) # index of distribution p
end
return mutation
end
PLM(lower::Vector, upper::Vector, η::Real = 2; pm::Real=NaN) = PLM(upper-lower, η; pm)
PLM(lower::Vector, upper::Vector, η::Real = 2; pm::Real=NaN) = PLM(upper-lower, η; pm=pm)


# Combinatorial mutations (applicable to binary vectors)
Expand Down

0 comments on commit 71d4d34

Please sign in to comment.