From cf22b29b75cf4453ec33f1211d402b1f5d7c4f77 Mon Sep 17 00:00:00 2001 From: Alban Mouton through Travis-CI Date: Mon, 31 Aug 2015 21:57:32 +0200 Subject: [PATCH] Actually use the maxResults parameter --- lib/genetic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)