Skip to content

Replace np.infty with np.inf because np.infty is no longer supported in NumPy 2.0 #6692

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

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

dstrain115
Copy link
Collaborator

Changes np.infty to np.inf

@dstrain115 dstrain115 requested review from vtomole and a team as code owners July 31, 2024 17:48
@CirqBot CirqBot added the Size: XS <10 lines changed label Jul 31, 2024
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.82%. Comparing base (c58a05c) to head (e94bb3c).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6692      +/-   ##
==========================================
- Coverage   97.82%   97.82%   -0.01%     
==========================================
  Files        1074     1074              
  Lines       92118    92126       +8     
==========================================
+ Hits        90116    90120       +4     
- Misses       2002     2006       +4     

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

@dstrain115 dstrain115 enabled auto-merge (squash) July 31, 2024 20:12
@dstrain115 dstrain115 disabled auto-merge July 31, 2024 20:12
@dstrain115 dstrain115 enabled auto-merge (squash) July 31, 2024 20:13
@dstrain115 dstrain115 merged commit c25678e into quantumlib:main Jul 31, 2024
32 checks passed
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
@mhucka mhucka changed the title np.infty no longer supported in NumPy 2.0 Replace np.infty with np.inf because np.infty is no longer supported in NumPy 2.0 Apr 8, 2025
BichengYing pushed a commit to BichengYing/Cirq that referenced this pull request Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: XS <10 lines changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants