Bug description
When adding age resolution to the IDE-SECIR model, some indices have not been adapted accordingly so that they always refer to the first age group which leads to incorrect results. This is the case in lines
|
populations[Eigen::Index(0)][Eigen::Index(InfectionState::Dead)]; |
and
|
transitions[i + 1][idx_IncomingFlow]; |
.
Version
Any
To reproduce
Use an age-resolved IDE-SECIR model.
Relevant log output
Add any relevant information, e.g. used compiler, screenshots.
Checklist
Bug description
When adding age resolution to the IDE-SECIR model, some indices have not been adapted accordingly so that they always refer to the first age group which leads to incorrect results. This is the case in lines
memilio/cpp/models/ide_secir/model.cpp
Line 307 in 616cf03
memilio/cpp/models/ide_secir/model.cpp
Line 455 in 616cf03
Version
Any
To reproduce
Use an age-resolved IDE-SECIR model.
Relevant log output
Add any relevant information, e.g. used compiler, screenshots.
Checklist