Repository navigation
Fix SymmetricBlockMatrix constructors - #24
Merged
djukic14 merged 1 commit intoOct 26, 2026
Merged
Conversation
Marsel-Safin
force-pushed
the
fix/symmetric-blockmatrix-constructors
branch
2 times, most recently
from
October 25, 2026 14:52
931f10e to
9706a4a
Compare
djukic14
force-pushed
the
fix/symmetric-blockmatrix-constructors
branch
from
October 26, 2026 13:34
36dc726 to
76d3c2a
Compare
Support empty, diagonal-only and off-diagonal-only matrices: infer the
element type from the blocks, or require SymmetricBlockMatrix{T}(...) when
it cannot be inferred. Skip conflict-graph coloring for SerialScheduler and
use a single color instead, as BlockSparseMatrix already does. Make
coloringalgorithm an explicit keyword (default WorkstreamDSATUR), validate
that block and index list lengths match, and avoid copying index arrays
that already have the expected type.
Behavior change: the tuple-size constructor now defaults to
SerialScheduler() instead of DynamicScheduler(), consistent with the
rows/cols constructor and BlockSparseMatrix. Pass
scheduler=DynamicScheduler() for parallel multiplication.
Also fix what blocked CI:
- docs: build trees with TwoNTree(X; builder=TwoNTreeBuilder(; minhalfsize=...))
for the H2Trees 0.4 API
- compat: raise the lower bounds to Graphs 1.7.2 and Aqua 0.8.1 so the
Downgrade job passes (Graphs < 1.7.2 has a sort! method ambiguity, Aqua
0.8.0 fails its persistent-tasks check)
- tests: ignore the test dependencies in Aqua's stale-deps check, since the
Downgrade workflow promotes them into [deps]
Co-authored-by: Marsel-Safin <marsel.gm1000@gmail.com>
djukic14
force-pushed
the
fix/symmetric-blockmatrix-constructors
branch
from
October 26, 2026 14:26
5c3a9e3 to
f6a3156
Compare
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.
Constructing a SymmetricBlockMatrix failed or ran needless coloring when the diagonal or off-diagonal block lists were empty.
Behavior change: the tuple-size constructor now defaults to SerialScheduler() instead of DynamicScheduler(), consistent with the rows/cols constructor and BlockSparseMatrix. Pass
scheduler=DynamicScheduler() for parallel multiplication.