diff --git a/bench/cec2020/benchFunctions.go b/bench/cec2020/benchFunctions.go index 6937f47..47acfe5 100644 --- a/bench/cec2020/benchFunctions.go +++ b/bench/cec2020/benchFunctions.go @@ -43,7 +43,9 @@ func BentCigar(x []float64) float64 { } // Schwefel is the "Shifted and Rotated Schwefel's Function" of CEC2020. -func Schwefel(x []float64) float64 { return 0 } +func Schwefel(x []float64) float64 { + return SchwefelModified(x) +} // LunacekBiRastrigin is the "Shifted and Rotated Lunacek bi-Rastrigin Function" of CEC2020. func LunacekBiRastrigin(x []float64) float64 { return 0 }