wagenaartje / neataptic

:rocket: Blazing fast neuro-evolution & backpropagation for the browser and Node.js
https://wagenaartje.github.io/neataptic/
Other
1.19k stars 279 forks source link

NEAT breaks with provenance with if no template network is provided #145

Open flesler opened 5 years ago

flesler commented 5 years ago

While createPool() gracefully handles the no-template case, provenance doesn't. You could simply set the default network (new Network(this.input, this.output)) when none is provided and simplify createPool()