Commit 14a48325 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

slimParticle rename addMortality => setMortality

parent b09d6104
......@@ -368,7 +368,7 @@ public:
* 1 : constant mortality rate given by [1] mortRateMax (by day)
* 2 : weibullMortalityRate with [2] lambda and [3] nu;
*/
void addMortality(int type, double rateMax, double weibullLambda = 0, double weibullNu = 0) {
void setMortality(int type, double rateMax, double weibullLambda = 0, double weibullNu = 0) {
_mortFlag = true;
_mortType = type;
if (type != 1) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment