MRC-CSO-SPHSU / UKSEABMLib.jl

MIT License
1 stars 1 forks source link

assertion raised in divorce! #46

Open AtiyahElsheikh opened 1 year ago

AtiyahElsheikh commented 1 year ago

when executing mainMA.jl within the LPM package with the non-optimized version (i.e. no dead removal), the following assertion is raised:

ERROR: LoadError: AssertionError: alive(child)
Stacktrace:
  [1] _divorce!(man::Person, time::Rational{Int64}, model::MAModel, divorcepars::DivorcePars, workpars::WorkPars, popfeature::SocioEconomics.API.Traits.FullPopulation)
    @ SocioEconomics.Specification.SimulateNew ~/work/julia/SocioEconomics.jl/src/socioeconomics/specification/simulatenew/divorce.jl:63

This happened after employing the death! agent-based transition function (practically different order of simulation functions).