Skip to content

Backports to release 1.10#704

Merged
dkarrasch merged 8 commits intorelease-1.10from
backports-release-1.10
Apr 20, 2026
Merged

Backports to release 1.10#704
dkarrasch merged 8 commits intorelease-1.10from
backports-release-1.10

Conversation

jishnub and others added 4 commits April 20, 2026 09:42
The `issymmetric` check tracks an `offset` that it uses to go from (row,
col) to (col, row). However, currently this doesn't account for the fact
that if a column is empty, entries in `colptr` will be identical. E.g.,
in #605, we have
```julia
julia> S = sparse([2, 3, 1], [1, 1, 3], [1, 1, 1], 3, 3)
3×3 SparseMatrixCSC{Int64, Int64} with 3 stored entries:
 ⋅  ⋅  1
 1  ⋅  ⋅
 1  ⋅  ⋅

julia> SparseArrays.getcolptr(S)
4-element Vector{Int64}:
 1
 3
 3
 4
```
The offset `3` corresponds to rows in the third column, as the second
column is empty. This PR checks for empty columns, in which case we may
exit the call immediately.

Fixes #605
This prevents us from being influenced by things like `LD_LIBRARY_PATH`,
and ensures that we always load the correct `libsuitesparseconfig` that
came with our JLL.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

❌ Patch coverage is 89.28571% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.72%. Comparing base (1882d61) to head (bc4fc20).
⚠️ Report is 9 commits behind head on release-1.10.

Files with missing lines Patch % Lines
src/solvers/umfpack.jl 84.61% 2 Missing ⚠️
src/solvers/cholmod.jl 80.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.10     #704      +/-   ##
================================================
+ Coverage         92.64%   92.72%   +0.07%     
================================================
  Files                12       12              
  Lines              7687     7682       -5     
================================================
+ Hits               7122     7123       +1     
+ Misses              565      559       -6     

☔ View full report in Codecov by Sentry.
📢 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.

@dkarrasch dkarrasch merged commit c3e31aa into release-1.10 Apr 20, 2026
8 of 9 checks passed
@dkarrasch dkarrasch deleted the backports-release-1.10 branch April 20, 2026 10:01
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.

4 participants