Skip to content
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 bug with iterating over non-reduced stab chains #801

Merged
merged 1 commit into from
May 31, 2016

Conversation

ChrisJefferson
Copy link
Contributor

The Iterator for permutation groups was broken when the StabChainMutable of the group was not reduced (which can reasonably happen as the result of various algorithms). I decided the easiest way to fix the algorithm was to just throw away any trivial elements from the end of the stab chain, as they are the ones causing trouble (ones in the middle / start may slightly increase work, but don't cause a bug).

@markuspf might want to take a glance at this, as this is his code I'm tweaking.

@markuspf markuspf merged commit 8552b72 into gap-system:master May 31, 2016
@ChrisJefferson
Copy link
Contributor Author

@alex-konovalov This patch also needs to be in stable-4.8 (sorry should have probably put it there in the first place). Not sure the cleanest way to do that.

@olexandr-konovalov olexandr-konovalov self-assigned this May 31, 2016
@olexandr-konovalov
Copy link
Member

@ChrisJefferson OK - I've assigned it to GAP 4.8.5 and will cherry-pick on stable-4.8 as soon as GAP 4.8.4 will be out. Have to remember that!

@ChrisJefferson ChrisJefferson deleted the stab-iterator-fix branch June 2, 2016 09:44
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.

3 participants