-
Notifications
You must be signed in to change notification settings - Fork 162
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
Recursion depth trap for due to level 3 assertion in characteristic polynomial of matrix code #3140
Comments
Sorry. So I don't see how to fix the problem, other than disabling a reasonable test. |
Just to note that GAP regression tests use assertion level 2, hence it's not surprising that level 3 assertions are not tested regularly and some unexpected issues may arise. |
If you look at some more of the backtrace, you can see what's happening:
So to evaluate the polynomial, it uses the |
So basically this is an issue where the assertion as-is not not work. I'm changing the title as it is an issue in matrix/polynomial code and not in conjugacy classes. |
There is an issue in the characteristic polynomial of matrix routine as called by the meat-axe as called by the conjugacy classes code for permutation groups. This is in master and 4.8.8, but requires assertions turned on, to level 3, so I'm not sure if it is considered a real issue. I think the fix is simple though.
Reproducer:
Line with the problem (polynomial versus coefficient list):
Maybe this line is wrong (
lib/matrix.gi
line 466 in 4.8.8, line 479 in 4.10.0, line 476 in master):cp
is not a polynomial. Maybe it is a coefficient list of a polynomial?More log:
The functions before the loop are:
Output:
The text was updated successfully, but these errors were encountered: