luca-scr / GA

An R package for optimization using genetic algorithms
http://luca-scr.github.io/GA/
91 stars 29 forks source link

additional arguments not passed to the fitness function in de #23

Closed fxdlmatt closed 5 years ago

fxdlmatt commented 5 years ago

Should the additional arguments be passed in the call to "ga", currently they are not passed?

object <- do.call("ga", c(args, list(fitness = fitness, lower = lower, upper = upper, popSize = popSize)))

luca-scr commented 5 years ago

Fixed in the dev version available in GitHub.