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

avoid contains or conversions when not needed in joint dist #3433

Merged
merged 5 commits into from
Oct 2, 2020

Conversation

ahnitz
Copy link
Member

@ahnitz ahnitz commented Aug 26, 2020

The ensure field array is a very slow function and should be avoided when possible to not bog down fast likelihoods where we don't have constraints.

@ahnitz
Copy link
Member Author

ahnitz commented Oct 2, 2020

@cdcapano reminder to review this PR

Copy link
Contributor

@cdcapano cdcapano left a comment

Choose a reason for hiding this comment

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

Looks fine, just one request.

pycbc/distributions/joint.py Show resolved Hide resolved
@ahnitz ahnitz merged commit c61e214 into gwastro:master Oct 2, 2020
ArthurTolley pushed a commit to ArthurTolley/pycbc that referenced this pull request Nov 14, 2022
…3433)

* avoid contains or conversions when not needed

* revert one change

* still need this part

* fix

* address collin
OliverEdy pushed a commit to OliverEdy/pycbc that referenced this pull request Apr 3, 2023
…3433)

* avoid contains or conversions when not needed

* revert one change

* still need this part

* fix

* address collin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants