Conversation
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
mtfishman
added a commit
to ITensor/BlockSparseArrays.jl
that referenced
this pull request
Apr 26, 2026
Convert the rest of the `@test_broken` calls in `test_basics.jl` and `test_map.jl` to the `broken = ...` keyword form, fold the surviving `if arrayt === Array; ...; else; @test_broken ...; end` pair in `test_map.jl` into a single `@test ... broken = arrayt ≢ Array`, and drop the now-unused `@test_broken` import from `test_genericblockindex.jl` and `test_tensoralgebraext.jl`. Also gate the LQ regression broken marker in `test_abstract_blocktype.jl` on `pkgversion(MatrixAlgebraKit) < v"0.6.7"` so the marker auto-disables once the upstream LQ gauge-fixing fix lands in MatrixAlgebraKit 0.6.7 (QuantumKitHub/MatrixAlgebraKit.jl#219). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
kshyatt
approved these changes
Apr 27, 2026
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.
This fixes #218.
Somehow this slipped through the cracks, as I already addressed this issue for QR (
MatrixAlgebraKit.jl/src/implementations/qr.jl
Lines 178 to 182 in a53006e
The issue being that
L .*= sign_safe.(diagview(L))does not give correct results sinceLanddiagview(L)share data in a non-trivial way.Interestingly, broadcasting Base
Arrayand views thereof detect this and make preventive copies, whileJLArraydoes not have this behavior.(I'm guessing there is some
dataidsoverload missing or something for that to work):In any case, this fix should now ensure correct results for JLArray's and one fewer allocation for regular
Arrays.