Skip to content

Check that contracted axes match in contract - #221

Merged
mtfishman merged 1 commit into
mainfrom
mf/check-contracted-axes
Aug 10, 2026
Merged

Check that contracted axes match in contract#221
mtfishman merged 1 commit into
mainfrom
mf/check-contracted-axes

Conversation

@mtfishman

Copy link
Copy Markdown
Member

Summary

Add the contracted-axis check that was missing from check_input for contract: each contracted pair must be a dual pair, dual(ax1) == ax2 (the identity for plain ranges, so equal axes for non-graded arrays).

Add the contracted-axis check that was missing from `check_input` for `contract`: each contracted pair must be a dual pair, `dual(ax1) == ax2` (the identity for plain ranges, so equal axes for non-graded arrays).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.32%. Comparing base (f4354a6) to head (424c0d2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #221      +/-   ##
==========================================
+ Coverage   81.21%   81.32%   +0.10%     
==========================================
  Files          28       28              
  Lines        1022     1028       +6     
==========================================
+ Hits          830      836       +6     
  Misses        192      192              
Flag Coverage Δ
docs 22.11% <100.00%> (+0.65%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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 enabled auto-merge (squash) August 10, 2026 17:06
@mtfishman
mtfishman merged commit 30099ad into main Aug 10, 2026
21 checks passed
@mtfishman
mtfishman deleted the mf/check-contracted-axes branch August 10, 2026 17:17
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