MRC-CSO-SPHSU / LoneParentsModel.jl

An initial implementation of an ABM for social and child care
0 stars 5 forks source link

selectMarraige #156

Closed AtiyahElsheikh closed 1 year ago

AtiyahElsheikh commented 2 years ago
selectMarriage(p, pars) = isMale(p) && isSingle(p) && age(p) > pars.ageOfAdulthood && careNeedLevel(p) < 4

apparently, alive(p) is missing?

mhinsch commented 2 years ago

Indeed, same for shareMenNoChildren in the same file. I'm surprised this hasn't caused any issues anywhere else.