Skip to content

Avoid redundant calls to np.unique in Impact.impact_at_reg#848

Merged
peanutfun merged 2 commits intodevelopfrom
single-unique-in-impact-at-reg
Feb 5, 2024
Merged

Avoid redundant calls to np.unique in Impact.impact_at_reg#848
peanutfun merged 2 commits intodevelopfrom
single-unique-in-impact-at-reg

Conversation

@peanutfun
Copy link
Copy Markdown
Member

@peanutfun peanutfun commented Feb 5, 2024

Changes proposed in this PR:

  • Only call np.unique once in Impact.impact_at_reg.

This seems to have been an oversight during the review of #642.

PR Author Checklist

PR Reviewer Checklist

@sarah-hlsn
Copy link
Copy Markdown
Collaborator

Looks good to me!

@peanutfun peanutfun merged commit 78efc1e into develop Feb 5, 2024
@emanuel-schmid emanuel-schmid deleted the single-unique-in-impact-at-reg branch March 13, 2024 15:05
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.

2 participants