Sakarah / GeneTipe

OCaml Genetic Algorithm student project for French TIPE
GNU General Public License v3.0
5 stars 2 forks source link

Stats.genetic_diversity raise "index out of bounds" exception #4

Closed Sakarah closed 8 years ago

Sakarah commented 8 years ago

When we call Stats.genetic_diversity with apparently good arguments (see in genetipe.ml) we just end up with : Fatal error: exception Invalid_argument("index out of bounds")

Gabzcr commented 8 years ago

it's now corrected

Sakarah commented 8 years ago

Well in fact now it returns -nan... Sorry it's not really corrected ^^