Skip to content

Bump compat to TensorAlgebra 0.22 and GradedArrays 0.16.6 - #265

Merged
mtfishman merged 4 commits into
mainfrom
mf/tensoralgebra-0.22
Sep 29, 2026
Merged

mtfishman merged 4 commits into
mainfrom
mf/tensoralgebra-0.22

Conversation

@mtfishman

@mtfishman mtfishman commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Bumps compat to TensorAlgebra 0.22 and GradedArrays 0.16.6. Backends now dispatch unmatricize on the matrix type, which tied with the named-axes methods here, so those take an AbstractMatrix and the GradedArrays and TensorKit extensions restate them for their matrix types.

TensorAlgebra 0.22 removes `MatricizeStyle`, which ITensorBase never used, so this is compat only.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@mtfishman
mtfishman enabled auto-merge (squash) September 28, 2026 22:01
@codecov

codecov Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.33333% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.62%. Comparing base (7ba9f4d) to head (76a9c0a).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
ext/ITensorBaseGradedArraysExt.jl 33.33% 4 Missing ⚠️
ext/ITensorBaseTensorKitExt.jl 33.33% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #265      +/-   ##
==========================================
- Coverage   77.91%   77.62%   -0.30%     
==========================================
  Files          30       30              
  Lines        1807     1819      +12     
==========================================
+ Hits         1408     1412       +4     
- Misses        399      407       +8     
Flag Coverage Δ
docs 25.61% <0.00%> (-0.18%) ⬇️

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 and others added 3 commits September 28, 2026 18:58
GradedArrays 0.16.6 dispatches unmatricize on its fused matrix types, which ties with the named-axes methods here. Restate those in the extension for each fused type.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
TensorAlgebra 0.22 defines the dense fallback on AbstractMatrix with untyped axes, which tied with the named-axes methods here for a plain matrix. Typing the matrix makes these strictly more specific.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
A TensorMap is not an AbstractMatrix, so the typed named-axes methods miss it and it fell through to the untyped-axes TensorKit method. Restate the named-axes methods for AbstractTensorMap.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@mtfishman
mtfishman merged commit 549611b into main Sep 29, 2026
16 of 18 checks passed
@mtfishman
mtfishman deleted the mf/tensoralgebra-0.22 branch September 29, 2026 00:18
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