-
Notifications
You must be signed in to change notification settings - Fork 175
Fix corner case in modified Todd-Coxeter when relator is trivial #3311
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
Conversation
98ccd30 to
8690809
Compare
|
Arguably we could also filter out trivial relators when creating a finitely presented group, but this change makes the code safer regardless. |
lib/sgpres.gi
Outdated
| SortBy(ri,Length); | ||
| A:=Concatenation([1..m],-[1..m]); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I==
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
hulpke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this will remove this problem. (It is good to do this in the TC only, but keep the trivial relator in the group.)
fingolfin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change the commit message to something more self-explanatory, something that does not require access to an unspecified external entity in order to make sense. E.g.
"Fix bug in coset enumeration for fp groups with trivial relator"
Other than this, this PR of course seems fine, thanks
lib/sgpres.gi
Outdated
| SortBy(ri,Length); | ||
| A:=Concatenation([1..m],-[1..m]); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
8690809 to
5a8cbed
Compare
Codecov Report
@@ Coverage Diff @@
## master #3311 +/- ##
==========================================
- Coverage 85.23% 85.23% -0.01%
==========================================
Files 696 695 -1
Lines 344083 343780 -303
==========================================
- Hits 293278 293013 -265
+ Misses 50805 50767 -38
|
5a8cbed to
ce0ad33
Compare
fingolfin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect now, thank you :)
No description provided.