SLiM is a genetically explicit forward simulation software package for population genetics and evolutionary biology. It is highly flexible, with a built-in scripting language, and has a cross-platform graphical modeling environment called SLiMgui.
Hi Ben, I am trying out setConstraints(). I am trying to make local competition to be only between juveniles (i1) and mating to be between adults (i2). Here is part of my code:
The error says 'setConstraints() requires minAge <= maxAge' even though the constraints are for two different interactions. Maybe I am misunderstanding how to use setConstraints() or maybe this is a bug?
Yep, it was a bug, sorry. Just committed a fix, pushed to GitHub; should work now, although I haven't tested it. (After work hours over here, but it was a quick fix. :->) Reopen if a problem remains. Thanks!
Hi Ben, I am trying out
setConstraints()
. I am trying to make local competition to be only between juveniles (i1) and mating to be between adults (i2). Here is part of my code:The error says 'setConstraints() requires minAge <= maxAge' even though the constraints are for two different interactions. Maybe I am misunderstanding how to use
setConstraints()
or maybe this is a bug?