Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
methodswithclass committed Sep 27, 2018
1 parent ba682c7 commit 67105f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions evolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -1279,8 +1279,8 @@ var obj = {};
self.set(_input);
setActive(false);

current.hardStop();
previous.hardStop();
if (current && current.hardStop) current.hardStop();
if (previous && previous.hardStop) previous.hardStop();

if (self.input && self.input.setEvdata) {
self.input.setEvdata({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mc-evolve",
"version": "5.1.4",
"version": "5.1.5",
"description": "An Evolutionary Algorithm in JavaScript that takes in a generic module that represents a problem to be optimized",
"main": "evolve.js",
"scripts": {
Expand Down

0 comments on commit 67105f6

Please sign in to comment.