-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
Fix orbit conversion for permutation elements #39843
base: develop
Are you sure you want to change the base?
Fix orbit conversion for permutation elements #39843
Conversation
@dimpase can you please review this, |
Documentation preview for this PR (built with commit 7d3c9a9; changes) is ready! 🎉 |
f0d5c32
to
5174084
Compare
hello, @roed314, can you run the CI again, had a small doubt, hadn't i force pushed after resolving the merge conflicts, the CI would have to still be ran in that case ?, |
The CI is run whenever there's a new version. I'm still seeing issues with 10.6 vs 10.6.rc1 (take a look at the Files Changed tab). |
ya, i think something went really wrong during the rebase or something, can you confirm this,:
It is showing version 10.6, instead of 10.6rc1, is it right ? |
Do this
then
|
The `input_for_gap` helper function within the `orbit` method failed to convert Sage `PermutationGroupElement` objects when they were present within the structure being acted upon (e.g., a tuple or set passed with `action="OnSets"`). It incorrectly tried to look them up in the base domain map. This commit modifies the base case of `input_for_gap` to check if the element is a `PermutationGroupElement` and, if so, converts it using `libgap()` before passing it to GAP. Added doctest.
5174084
to
4211503
Compare
It worked thanks a lot, |
@roed314 why is the build doc failing?, |
there is a problem in a thematic tutorial in French (you can get the raw log of the CI run and look there)
|
how to fix that? |
you don't have to fix it, it's irrelevant to this PR |
i had small doubt, can we get this merged or we'll have to wait till the next release? |
Has anyone reviewed the code? |
The
input_for_gap
helper function within theorbit
method failed to convert SagePermutationGroupElement
objects when they were present within the structure being acted upon (e.g. tuple or set passed withaction="OnSets"
). It incorrectly tried to look them up in the base domain map.This modifies the base case of
input_for_gap
to check if the element is aPermutationGroupElement
and if so, converts it usinglibgap()
before passing it to GAP.Added doctest.
Fixes #29151
📝 Checklist
⌛ Dependencies