Skip to content

Conversation

ogauthe
Copy link
Collaborator

@ogauthe ogauthe commented Jun 12, 2025

When label_dest is not provided, contract automatically determines it from labels1 and labels2 and returns it. It currently output it as a Tuple. This PR makes it return a BlockedTuple{2}.

This PR also add many sanity checks.

@codecov
Copy link

codecov bot commented Jun 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.88%. Comparing base (1e90db0) to head (59159d7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
+ Coverage   94.63%   94.88%   +0.25%     
==========================================
  Files          14       14              
  Lines         429      450      +21     
==========================================
+ Hits          406      427      +21     
  Misses         23       23              
Flag Coverage Δ
docs 0.00% <0.00%> (ø)

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

☔ 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
Copy link
Member

Looks good, thanks!

@mtfishman mtfishman merged commit d3512a4 into ITensor:main Jun 13, 2025
14 checks passed
@ogauthe ogauthe deleted the label_dest-bituple branch June 13, 2025 14:34
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.

2 participants