CompatHelper: bump compat for NamedDimsArrays to 0.15 and require TensorAlgebra >= 0.9.2#101
Merged
mtfishman merged 4 commits intoMay 7, 2026
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #101 +/- ##
=======================================
Coverage 75.81% 75.81%
=======================================
Files 23 23
Lines 980 980
=======================================
Hits 743 743
Misses 237 237
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
`TensorAlgebra` 0.9.2 fixes a `bipermutedimsopadd!` bug in which the 0-dim
branch read `dest[]` even when `β = 0`, throwing `UndefRefError` on
`Array{BigFloat, 0}(undef)` destinations (e.g. scalar contractions of
`BigFloat`-valued tensors that flow through `NamedDimsArrays`). Add
`TensorAlgebra` to `[deps]` (with `using TensorAlgebra: TensorAlgebra` so the
floor isn't reported as a stale dep by Aqua) and to `[compat]` with a `0.9.2`
floor.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
[compat] NamedDimsArraysto allow0.15(alongside0.14.3), and updates the same compat intest/Project.tomlso the test workspace can resolve to0.15.TensorAlgebrato[deps]and[compat]with a0.9.2floor. This is needed so that BigFloat-valued tensor contractions that produce a 0-dim destination resolve to aTensorAlgebraversion that has thebipermutedimsopadd!fix from 0.9.2; on olderTensorAlgebra, the BigFloat belief-propagation testset throwsUndefRefError(the 0-dim destination's slot was being read unconditionally on theβ = 0path).using TensorAlgebra: TensorAlgebrais added in the entry module so the new compat floor isn't reported as a stale dependency by Aqua.0.4.1.