diff --git a/bench/cec2020/helperFunctions.go b/bench/cec2020/helperFunctions.go index bf32007..6de69ad 100644 --- a/bench/cec2020/helperFunctions.go +++ b/bench/cec2020/helperFunctions.go @@ -123,8 +123,8 @@ func Asy(x []float64, beta float64) { func newXopt(n int, mu0 float64) []float64 { gaussDist := &distuv.Uniform{ Src: rand.NewSource(uint64(time.Now().UnixNano())), - Min: searchRangeMin, - Max: searchRangeMax, + Min: SearchRange.Min(), + Max: SearchRange.Max(), } tmpvec := make([]float64, n)