richelbilderbeek / pbdmms

Some models
GNU General Public License v3.0
2 stars 0 forks source link

sado: infinite loop #274

Closed Lumphie closed 7 years ago

Lumphie commented 7 years ago

The simulation is supposed to end if the species go extinct. This does not happen when there is just 1 indiv left. Even though there is no other individual left to mate with it will keep looking for that significant other in an infinite loop.

Maybe change the while loop so that it also stops when there is just 1 indiv left.

richelbilderbeek commented 7 years ago

Fun! I am nearly done, so within two hours I may have added that. Assign me if you'd like me to :-)

richelbilderbeek commented 7 years ago

Maybe fixed!