fix: return value from Rosenbrock-Griewank
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3d83683b8b
commit
e846fe25e5
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user