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

Fix bug in matching across where multiple target halos exist #201

Merged
merged 2 commits into from
Jul 4, 2022

Conversation

apontzen
Copy link
Member

In some circumstances, matching across into another simulation could result in
too many results being generated (and an exception being thrown), because at
the final stage the maximum weight criterion was not being applied correctly.

The resolution involves fixing an argmax to be grouped only by source halo,
not the most recent hop.

Added also a useful printing routine for debugging issues with multisource/multihop
calculations (disabled by default, of course!)

In some circumstances, matching across into another simulation could result in
too many results being generated (and an exception being thrown), because at
the final stage the maximum weight criterion was not being applied correctly.

The resolution involves fixing an argmax to be grouped only by source halo,
not the most recent hop.

Added also a useful printing routine for debugging issues with multisource/multihop
calculations (disabled by default, of course!)
@apontzen
Copy link
Member Author

apontzen commented Jul 1, 2022

pre-commit.ci autofix

@apontzen apontzen merged commit ab77c60 into master Jul 4, 2022
@apontzen apontzen deleted the match-across-multi branch July 4, 2022 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant