cgcardona / audiofile_sdk

The SDK bits of Audiofile
1 stars 0 forks source link

When mutating genes why am I getting undefined? #3

Open cgcardona opened 11 years ago

cgcardona commented 11 years ago

When mutating a dna strand with only one bit I am getting undefined returned. Why?

cgcardona commented 11 years ago

Temp fix in which I only allow dna strands that are at least 2 bits long to be mated.

Ultimately this lessens the biodiversity of each generation and I want to get this solved.

https://github.com/cgcardona/audiofile_sdk/commit/dbdd346b1f80202c212ebc8f2f678cdd437850b5