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 convolve import for scipy 3.12 #392

Merged
merged 1 commit into from
Jan 22, 2024
Merged

Conversation

eendebakpt
Copy link
Contributor

Replace the import of convolve from scipy to numpy. Fixes #391

@sserita sserita changed the base branch from master to develop January 22, 2024 18:19
@sserita sserita requested review from a team as code owners January 22, 2024 18:19
Copy link
Contributor

@sserita sserita left a comment

Choose a reason for hiding this comment

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

This looks fine, thanks for catching this @eendebakpt!
For posterity, there is also scipy.signal.convolve if we ever need to generalize to N-dimensional arrays instead of just the 1D we are using now.

@sserita sserita merged commit e5c565f into sandialabs:develop Jan 22, 2024
@sserita sserita added this to the 0.9.12.1 milestone Jan 22, 2024
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.

Pygsti is incompatible with scipy 1.12
2 participants