Skip to content

Commit

Permalink
fix: fix random search evaluations number
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaixhin committed Jan 11, 2016
1 parent 02a132e commit 8208e36
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions views/optimisation.jade
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 8208e36

Please sign in to comment.