Skip to content

Support linear broadcasting over TensorMaps - #222

Merged
mtfishman merged 1 commit into
mainfrom
mf/linearbroadcasted-similar-style
Aug 16, 2026
Merged

Support linear broadcasting over TensorMaps#222
mtfishman merged 1 commit into
mainfrom
mf/linearbroadcasted-similar-style

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

Linear combinations of TensorMaps such as a .+ b and 2 .* a now allocate through the backend's own broadcast similar, returning a TensorMap of the right storage type instead of erroring.

Linear combinations of TensorMaps such as `a .+ b` and `2 .* a` now allocate through the backend's own broadcast `similar`, returning a `TensorMap` of the right storage type instead of erroring.
@codecov

codecov Bot commented Aug 16, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 26.66667% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.86%. Comparing base (30099ad) to head (14f0e6b).

Files with missing lines Patch % Lines
ext/TensorAlgebraTensorKitExt.jl 21.42% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #222      +/-   ##
==========================================
- Coverage   81.32%   79.86%   -1.46%     
==========================================
  Files          28       28              
  Lines        1028     1038      +10     
==========================================
- Hits          836      829       -7     
- Misses        192      209      +17     
Flag Coverage Δ
docs 21.89% <0.00%> (-0.22%) ⬇️

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

☔ View full report in Codecov by Harness.
📢 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 enabled auto-merge (squash) August 16, 2026 19:51
@mtfishman
mtfishman merged commit 8ae1d40 into main Aug 16, 2026
19 of 21 checks passed
@mtfishman
mtfishman deleted the mf/linearbroadcasted-similar-style branch August 16, 2026 20:01
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