-
-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
py3 fixes for weyl_characters.py #28227
Comments
Branch: u/jhpalmieri/py3-weyl-characters |
New commits:
|
Commit: |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:4
It would be clearer if the second test here makes use of the sorted basis instead of sorting the highest weights, assuming assigning labels in the third test takes those weights into account.
Also, I am wondering whether the more fundamental problem is that
If the successor function gives consistent results, the breadth-first search should be unique, should it not? |
comment:5
There is #27967 already, but it only deals with the graded variant of |
comment:6
As |
comment:7
With this branch and py2 i get the following error :
|
comment:8
Replying to @vinklein:
I can only reproduce this if I check out the branch and fail to run |
comment:10
Replying to @mwageringel:
Is this better?
Should we delay the changes here until #27967 is resolved, or do these and then perhaps have to change then again depending on #27967 and/or other changes to Replying to @vinklein:
I added something. |
Reviewer: Markus Wageringel, Vincent Klein |
comment:11
Replying to @jhpalmieri:
I had a mess in my py2 local branch. It works now. I'm ok with this ticket as it is. @mwageringel : I let you set the ticket to positive review if you agree. |
comment:12
Replying to @jhpalmieri:
Yes, thanks.
IMO, it would be better to delay this as it is a change of the API, not just the doctests. I am not sure where #27967 is headed though, so I will not insist. Feel free to set this to positive if you prefer these changes be merged now. |
comment:14
I think we should merge this ticket now. From #27967 comment:10
I think this is a valid point and therefore modifying RecursivelyEnumeratedSet rather than the classes using it is debatable. So yes i think #27967 will take a while. |
comment:15
Ok, let us move on here. Setting to positive. |
Changed branch from u/jhpalmieri/py3-weyl-characters to |
Fix the Python 3 doctest failures in
combinat/root_systems/weyl_characters.py
. The failures all come down to sorting. The more complicated problem is the methodfusion_labels
which relies on sorted output when it shouldn't.Component: python3
Author: John Palmieri
Branch/Commit:
7d31fbb
Reviewer: Markus Wageringel, Vincent Klein
Issue created by migration from https://trac.sagemath.org/ticket/28227
The text was updated successfully, but these errors were encountered: