Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 'residents' instead of 'occupants_avg' or 'occupants_night' when calculating consequences for 'homeless' #8972

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

ptormene
Copy link
Member

Fixes #8966

A more comprehensive work is being done in #8940
Menwhile, this fixes the most urgent matter.

@ptormene ptormene added the bug label Aug 31, 2023
@ptormene ptormene added this to the Engine 3.18.0 milestone Aug 31, 2023
@ptormene ptormene self-assigned this Aug 31, 2023
Copy link
Member

@raoanirudh raoanirudh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the typo, LGTM

openquake/risklib/scientific.py Outdated Show resolved Hide resolved
@ptormene ptormene merged commit 9263576 into master Aug 31, 2023
5 checks passed
@ptormene ptormene deleted the fix-homeless branch August 31, 2023 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Homeless calculations should be using residents and not occupants_night or occupants_avg
2 participants