Skip to content

fix error message in sparse_check#681

Open
araujoms wants to merge 1 commit intoJuliaSparse:mainfrom
araujoms:sparsecheck
Open

fix error message in sparse_check#681
araujoms wants to merge 1 commit intoJuliaSparse:mainfrom
araujoms:sparsecheck

Conversation

@araujoms
Copy link
Copy Markdown
Contributor

There was a typo in sparse_check, that didn't affect the checking but led to a nonsensical error message:

julia> sparse_check(2, [2,1,2], [1], [2])
ERROR: ArgumentError: 1 == colptr[1] != 1

With the PR we get:

julia> sparse_check(2, [2,1,2], [1], [2])
ERROR: ArgumentError: 2 == colptr[1] != 1

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.36%. Comparing base (2b32b60) to head (fcc045c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #681      +/-   ##
==========================================
+ Coverage   84.28%   84.36%   +0.08%     
==========================================
  Files          13       13              
  Lines        9340     9340              
==========================================
+ Hits         7872     7880       +8     
+ Misses       1468     1460       -8     

☔ 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.

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