Skip to content

Fix BoundError in weights(hook_lengths(...))#4270

Merged
fieker merged 3 commits intooscar-system:masterfrom
JohnAAbbott:master
Nov 6, 2024
Merged

Fix BoundError in weights(hook_lengths(...))#4270
fieker merged 3 commits intooscar-system:masterfrom
JohnAAbbott:master

Conversation

@JohnAAbbott
Copy link
Copy Markdown
Collaborator

@JohnAAbbott JohnAAbbott commented Nov 5, 2024

The weight function now checks that its arg is semi-standard, and gives a helpful error if not.

The proposed name change discussed in issue #4230 (replace weight by weight_sequence) has not been implemented.

Resolves #4230.

@lgoettgens lgoettgens changed the title Resolves issue 4230 Resolves BoundError in weights of YoungDiagram Nov 5, 2024
@lgoettgens lgoettgens changed the title Resolves BoundError in weights of YoungDiagram Resolves BoundError in weights(hook_lengths(...)) Nov 5, 2024
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.48%. Comparing base (b056c72) to head (0ccd936).
Report is 297 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4270      +/-   ##
==========================================
- Coverage   84.60%   84.48%   -0.12%     
==========================================
  Files         640      641       +1     
  Lines       85122    85428     +306     
==========================================
+ Hits        72014    72171     +157     
- Misses      13108    13257     +149     
Files with missing lines Coverage Δ
...Combinatorics/EnumerativeCombinatorics/tableaux.jl 96.43% <100.00%> (+<0.01%) ⬆️

... and 31 files with indirect coverage changes

@fieker fieker merged commit c40f14e into oscar-system:master Nov 6, 2024
@lgoettgens lgoettgens mentioned this pull request Nov 8, 2024
benlorenz pushed a commit that referenced this pull request Nov 18, 2024
* Added arg check to weights

* weight seq of non-semi-standard YT gives error

* Inputs for weight seq tests are now semi-standard

(cherry picked from commit c40f14e)
@benlorenz benlorenz mentioned this pull request Nov 18, 2024
1 task
@lgoettgens lgoettgens added the release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes label Feb 28, 2025
@lgoettgens lgoettgens changed the title Resolves BoundError in weights(hook_lengths(...)) Fix BoundError in weights(hook_lengths(...)) Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes topic: combinatorics

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BoundsError thrown by weight(hook_lengths(partition([4,2,1])))

3 participants