Skip to content

Define more broadcasting operations #20

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
Jun 19, 2025
Merged

Define more broadcasting operations #20

merged 2 commits into from
Jun 19, 2025

Conversation

mtfishman
Copy link
Member

Define more broadcasting operations. The strategy is to overload Broadcast.broadcasted to canonicalize certain inputs involving linear algebra with scalars to map-compatible expressions. This helps fix issues when making block sparse arrays where blocks are Kronecker arrays, since blockwise broadcasting/mapping is defined by broadcasting across blocks as of ITensor/BlockSparseArrays.jl#150.

Depends on ITensor/BlockSparseArrays.jl#152.

Copy link

codecov bot commented Jun 19, 2025

Codecov Report

Attention: Patch coverage is 40.74074% with 32 lines in your changes missing coverage. Please review.

Project coverage is 75.22%. Comparing base (ca8be69) to head (b45ba0a).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/kroneckerarray.jl 36.11% 23 Missing ⚠️
src/linearalgebra.jl 0.00% 5 Missing ⚠️
src/fillarrays/kroneckerarray.jl 55.55% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #20      +/-   ##
==========================================
- Coverage   78.76%   75.22%   -3.55%     
==========================================
  Files          10       10              
  Lines         617      666      +49     
==========================================
+ Hits          486      501      +15     
- Misses        131      165      +34     
Flag Coverage Δ
docs 0.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mtfishman mtfishman merged commit 826a8cf into main Jun 19, 2025
12 of 14 checks passed
@mtfishman mtfishman deleted the mf/broadcasting branch June 19, 2025 22:34
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