Skip to content

[Fix] Transformers for non-abelian non-selfadjoint sectors#256

Merged
lkdvos merged 4 commits intomasterfrom
fix-transformer
Jul 13, 2025
Merged

[Fix] Transformers for non-abelian non-selfadjoint sectors#256
lkdvos merged 4 commits intomasterfrom
fix-transformer

Conversation

@lkdvos
Copy link
Copy Markdown
Member

@lkdvos lkdvos commented Jul 12, 2025

As brought up in #255 , for sectors that are non-abelian and not self-adjoint the logic for locating the fusiontrees was being handled incorrectly.
Here, I've fixed that, and added a set of spaces that have this property to the testsuite.
An alternative would be to re-enable the SU3 tests, but I think this testset is also useful by itself.

@lkdvos lkdvos linked an issue Jul 12, 2025 that may be closed by this pull request
@lkdvos lkdvos requested a review from Jutho July 12, 2025 13:31
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.90%. Comparing base (0d5bb31) to head (c33606d).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #256   +/-   ##
=======================================
  Coverage   82.90%   82.90%           
=======================================
  Files          44       44           
  Lines        5751     5751           
=======================================
  Hits         4768     4768           
  Misses        983      983           

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

Comment thread src/tensors/treetransformers.jl Outdated
sz_median = size(data[end ÷ 2][1], 1),
sz_max = size(data[1][1], 1),
sz_median = size(data[cld(end, 2)][1], 1),
sz_max = size(data[cld(end, 2)][1], 1),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are sz_median and sz_max now the same? Do you just want data[end][1]?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh you are right, I should have only corrected the sz_median. Should be resolved now.

@lkdvos lkdvos force-pushed the fix-transformer branch from 078193b to 6f52ba0 Compare July 12, 2025 15:32
Copy link
Copy Markdown
Member

@Jutho Jutho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to merge; do you also bump the patch version?

@lkdvos lkdvos merged commit d509e10 into master Jul 13, 2025
8 checks passed
@lkdvos lkdvos deleted the fix-transformer branch July 13, 2025 15:05
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.

Contraction error after v0.14.7

2 participants