fix: return value from Rosenbrock-Griewank
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-02-12 00:04:43 +01:00
parent 3d83683b8b
commit e846fe25e5
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -73,7 +73,7 @@ func RosenbrockGriewank(x []float64) float64 {
sum += Griewank([]float64{Rosenbrock(f)}) sum += Griewank([]float64{Rosenbrock(f)})
} }
return 0 return sum
} }
// Hybrid1 is the "Hybrid Function 1" of CEC2020. // Hybrid1 is the "Hybrid Function 1" of CEC2020.