diff --git a/lib/genetic.js b/lib/genetic.js index 7564024..fbcff32 100644 --- a/lib/genetic.js +++ b/lib/genetic.js @@ -155,7 +155,7 @@ var Genetic = Genetic || (function(){ this.notification && (isFinished || this.configuration["skip"] == 0 || i%this.configuration["skip"] == 0) ) { - this.sendNotification(pop.slice(0, this.maxResults), i, stats, isFinished); + this.sendNotification(pop.slice(0, this.configuration.maxResults), i, stats, isFinished); } if (isFinished)