Skip to content

More general checkbounds and blockcheckbounds #469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 1, 2025

Conversation

mtfishman
Copy link
Collaborator

This adds support for more bounds checking, such as checkbounds(A, Block.(2:3), Block.(2:3)), checkbounds(A, Block(2, 2)[1:3, 1:3]), etc.

It also fixes #458.

Copy link

codecov bot commented Jun 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.83%. Comparing base (0c73bef) to head (29b5d04).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #469      +/-   ##
==========================================
+ Coverage   93.81%   93.83%   +0.01%     
==========================================
  Files          19       19              
  Lines        1681     1702      +21     
==========================================
+ Hits         1577     1597      +20     
- Misses        104      105       +1     

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

@mtfishman mtfishman merged commit e9c28d4 into JuliaArrays:master Jul 1, 2025
16 checks passed
@mtfishman mtfishman deleted the mf/more_checkbounds branch July 1, 2025 13:01
mtfishman added a commit that referenced this pull request Jul 1, 2025
#472 broken some tests and doctests introduced in #469, I accidentally
merged #469 prematurely without checking that.
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.

Should blockcheckbounds(A, K) be called from checkbounds(A, Block(K))?
3 participants