Skip to content

Commit

Permalink
Rename Species stagnation increase to increaseStagnation
Browse files Browse the repository at this point in the history
  • Loading branch information
christianechevarria committed Jan 17, 2020
1 parent 032db81 commit e58ebde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/architecture/population.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ const Population = function(options) {
}

// else, species is stagnant
else species.incrementStagnation()
else species.increaseStagnation()
}

species.addMember(genome);
Expand Down
2 changes: 1 addition & 1 deletion src/architecture/species.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ const Species = function(founder, config={}) {
*
* @return {number} Species stagnation count
*/
self.incrementStagnation = function(amount = 1) {
self.increaseStagnation = function(amount = 1) {
return self.stagnation += amount;
}

Expand Down

0 comments on commit e58ebde

Please sign in to comment.