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

Infinite broadcast tests #382

Closed
wants to merge 19 commits into from
Closed

Infinite broadcast tests #382

wants to merge 19 commits into from

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Apr 4, 2024

This builds on top of #348, and should be rebased once that is merged. This adds tests for broadcasting involving infinite blocked ranges

julia> b = blockedrange(InfiniteArrays.OneToInf())
ℵ₀-blocked ℵ₀-element BlockedOneTo{ArrayLayouts.RangeCumsum{Int64, InfiniteArrays.OneToInf{Int64}}}:
 12
 34
 5
 67
 8
 9
 

julia> b .+ b
(ℵ₀-blocked ℵ₀-element BlockedOneTo{ArrayLayouts.RangeCumsum{Int64, InfiniteArrays.OneToInf{Int64}}}) .+ (ℵ₀-blocked ℵ₀-element BlockedOneTo{ArrayLayouts.RangeCumsum{Int64, InfiniteArrays.OneToInf{Int64}}}) with indices BlockedOneTo(ArrayLayouts.RangeCumsum(OneToInf())):
  2
 ──
  4
  6
 ──
  8
 10
 12
 ──
 14
 16
 18
  

Copy link

codecov bot commented Apr 4, 2024

Codecov Report

Attention: Patch coverage is 99.04762% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 95.41%. Comparing base (7766ac9) to head (c590286).

Files Patch % Lines
src/blockcholesky.jl 0.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           release-1.0     #382      +/-   ##
===============================================
+ Coverage        95.33%   95.41%   +0.08%     
===============================================
  Files               16       16              
  Lines             1500     1527      +27     
===============================================
+ Hits              1430     1457      +27     
  Misses              70       70              

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

@jishnub jishnub mentioned this pull request Apr 4, 2024
@jishnub jishnub closed this Apr 4, 2024
@jishnub jishnub deleted the jishnub/infinitetests branch April 4, 2024 10:37
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.

1 participant