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

Suppress superfluous warnings from numpy #6599

Merged
merged 2 commits into from
May 15, 2024

Conversation

dstrain115
Copy link
Collaborator

  • On MacOS, with numpy ~1.26, np.linalg.det gives spurious warnings when passed a complex array.
  • Suppress these warnings, as they are just annoying and do not signify anything.

- On MacOS, with numpy ~1.26, np.linalg.det gives
spurious warnings when passed a complex array.
- Suppress these warnings, as they are just annoying
and do not signify anything.
Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.81%. Comparing base (2a907bf) to head (3905278).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6599      +/-   ##
==========================================
- Coverage   97.81%   97.81%   -0.01%     
==========================================
  Files        1061     1061              
  Lines       91647    91656       +9     
==========================================
+ Hits        89648    89656       +8     
- Misses       1999     2000       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@mpharrigan mpharrigan left a comment

Choose a reason for hiding this comment

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

impressive investigative work

@dstrain115 dstrain115 merged commit cf86dda into quantumlib:main May 15, 2024
34 checks passed
jselig-rigetti pushed a commit to jselig-rigetti/Cirq that referenced this pull request May 28, 2024
* Suppress superfluous warnings from numpy

- On MacOS, with numpy ~1.26, np.linalg.det gives
spurious warnings when passed a complex array.
- Suppress these warnings, as they are just annoying
and do not signify anything.
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
* Suppress superfluous warnings from numpy

- On MacOS, with numpy ~1.26, np.linalg.det gives
spurious warnings when passed a complex array.
- Suppress these warnings, as they are just annoying
and do not signify anything.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: M 50< lines changed <250
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants