Skip to content

Commit

Permalink
Tiny patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozo132 committed Apr 26, 2020
1 parent 795dd04 commit 8c01004
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ga.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ const EVLOLVE_ONE_GEN = (options, callback) => {

const throwTimeoutDefault = () => console.log('ERROR: Generation check timeout')

module.exports = class Model {
class Trainer {
constructor(config) {
this.__internal__ = {
max_population: 100,
Expand Down Expand Up @@ -470,4 +470,6 @@ module.exports = class Model {
}
iterate()
}
}
}

module.exports = Trainer

0 comments on commit 8c01004

Please sign in to comment.