From 8208e369a991ae18c9729649c87e71ce22f60edd Mon Sep 17 00:00:00 2001 From: Kaixhin Date: Mon, 11 Jan 2016 16:02:50 +0000 Subject: [PATCH] fix: fix random search evaluations number --- views/optimisation.jade | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/views/optimisation.jade b/views/optimisation.jade index dac2197..b6ed7f1 100644 --- a/views/optimisation.jade +++ b/views/optimisation.jade @@ -257,9 +257,6 @@ block scripts var retryTimeout = parseInt(formObj._retry[0]); delete formObj._retry; - // Delete evaluations - delete formObj._evaluations; - var expList; if (optimisationType === "random-search") { // Process range for random search @@ -312,6 +309,8 @@ block scripts expList[i] = expObj; } } else if (optimisationType === "grid-search") { + // Delete evaluations + delete formObj._evaluations; // Create experiment list expList = recurseGrid(formObj); }