Hi all. A quick announcement that SLiM version 2.4.1 has just been released. This is a bug fix release; unfortunately SLiM 2.4 made it out the door with a fairly bad bug that needs immediate patching.
The bug affects simulations that use multiple subpopulations. In this case, the subpopID of mutations added to the simulation with addNewMutation() or addNewDrawnMutation() could be incorrect (mutations added by SLiM would have the correct subpopID). In addition, if a subpopulation was removed by calling setSubpopulationSize(0), a crash or other undefined behavior could result.
Simulations that do not use multiple subpopulations, or that did not use addNewMutation(), addNewDrawnMutation(), or SubpopulationSize(0), should run without problems in SLiM 2.4. Nevertheless, upgrading is strongly recommended to avoid any possibility of error.
Apologies for the bug, and thanks to Kieran Samuk for reporting the problem quickly, allowing us to fix it before version 2.4 had been out for long. :->