Skip to content

Forward dual/isdual through NamedUnitRange#229

Merged
mtfishman merged 1 commit into
mainfrom
mf/dual-isdual-namedunitrange
Jul 24, 2026
Merged

Forward dual/isdual through NamedUnitRange#229
mtfishman merged 1 commit into
mainfrom
mf/dual-isdual-namedunitrange

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

Forwards the dual and isdual generics owned by TensorAlgebra (added in ITensor/TensorAlgebra.jl#214) through NamedUnitRange, so isdual(index) and dual(index) work directly on an Index instead of reaching into the wrapped range. Mirrors the existing conj forwarding. Bumps the TensorAlgebra compat floor to 0.17.8.

## Summary

Forwards the `dual` and `isdual` generics owned by TensorAlgebra (added in ITensor/TensorAlgebra.jl#214) through `NamedUnitRange`, so `isdual(index)` and `dual(index)` work directly on an `Index` instead of reaching into the wrapped range. Mirrors the existing `conj` forwarding. Bumps the TensorAlgebra compat floor to 0.17.8.
@mtfishman
mtfishman enabled auto-merge (squash) July 24, 2026 14:48
@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.88%. Comparing base (00c01c1) to head (85bb89f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #229      +/-   ##
==========================================
+ Coverage   77.85%   77.88%   +0.02%     
==========================================
  Files          29       29              
  Lines        1707     1709       +2     
==========================================
+ Hits         1329     1331       +2     
  Misses        378      378              
Flag Coverage Δ
docs 27.25% <0.00%> (-0.04%) ⬇️

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 merged commit e4396ff into main Jul 24, 2026
18 checks passed
@mtfishman
mtfishman deleted the mf/dual-isdual-namedunitrange branch July 24, 2026 15:09
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