Evolutionary.jl icon indicating copy to clipboard operation
Evolutionary.jl copied to clipboard

Default for `recombination` in `ES` causes error due to `rng` kwarg

Open Vaibhavdixit02 opened this issue 2 years ago • 0 comments

At this line, https://github.com/wildart/Evolutionary.jl/blob/cf3f2fbf5e1be13d6f5db23eabe5dbfab4d5b688/src/es.jl#L100, where the recombination function is invoked in the ES implementation, because rng is passed as a kwarg unconditionally, using the default https://github.com/wildart/Evolutionary.jl/blob/cf3f2fbf5e1be13d6f5db23eabe5dbfab4d5b688/src/es.jl#L30, causes an error. https://github.com/SciML/Optimization.jl/issues/467

Vaibhavdixit02 avatar Feb 07 '23 05:02 Vaibhavdixit02