Commit a6eb305d authored by Victor Boussange's avatar Victor Boussange
Browse files

small changes gillepsie runworld birth coeff

parent cf51aa70
......@@ -25,7 +25,7 @@ function update_afterbirth_std!(world,C,idx::Int,p::Dict) where T
# Now updating new agent
world[idx].d = sum(C[idx,:])
world[idx].b = K(traits[idx][:,end],1.)
world[idx].b = K(traits[idx])
function update_afterdeath_std!(world,C,idx::Int,p::Dict) where T
......@@ -26,7 +26,7 @@ function update_rates_std!(world,C,p::Dict,t::Float64)
# this could be imptrove since \alpha is symmetric, by using a symmetric matrix
a.d = sum(C[i,:])
# /!| not ideal to assign at every time step the birth rate that is constant
a.b = K(traits[i][:,end])
a.b = K(traits[i])
Supports Markdown
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