Skip to content

Fix indices in IDE-SECIR model that have not been adapted to multiple age groups #1469

@annawendler

Description

@annawendler

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

  • Attached labels, especially loc:: or model:: labels.
  • Linked to project

Metadata

Metadata

Assignees

Labels

class::bugBugs found in the softwareloc::backendThis issue concerns the C++ backend implementation.model::ideThis issue concerns any kind of integro differential equations-based model.

Type

Projects

Status

Product Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions