Where is the declaration of "costFunc"
luciusluo opened this issue · 1 comments
luciusluo commented
You've called costFunc several times in the code but there isn't any declaration of "costFunc"!
nathanrooy commented
costFunc is initialized when the PSO() class is first called.