Skip to content

Check blockidx out of range for dense UniTensor#701

Open
manuschneider wants to merge 2 commits intomasterfrom
fix_dense_blockidx_out_of_range
Open

Check blockidx out of range for dense UniTensor#701
manuschneider wants to merge 2 commits intomasterfrom
fix_dense_blockidx_out_of_range

Conversation

@manuschneider
Copy link
Collaborator

Fixes #176 and #298

… any argument to avoid overhead of argument check; did not do this for put_block(_) for code readability
@codecov
Copy link

codecov bot commented Nov 2, 2025

Codecov Report

❌ Patch coverage is 76.47059% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 32.76%. Comparing base (19643a1) to head (ebd890c).
⚠️ Report is 89 commits behind head on master.

Files with missing lines Patch % Lines
include/UniTensor.hpp 76.47% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #701      +/-   ##
==========================================
+ Coverage   32.74%   32.76%   +0.01%     
==========================================
  Files         215      215              
  Lines       35065    35079      +14     
  Branches    14070    14075       +5     
==========================================
+ Hits        11482    11492      +10     
- Misses      21708    21712       +4     
  Partials     1875     1875              

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@manuschneider manuschneider added this to the v1.1.0 milestone Dec 11, 2025
@manuschneider manuschneider added the Pending check/approval Issue fixed, and need feedback label Feb 11, 2026
@ianmccul
Copy link
Contributor

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Bravo.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Pending check/approval Issue fixed, and need feedback

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get_block(blockindex) should drop an error if blockindex != 0 for non-symmetric tensors

2 participants