-
Notifications
You must be signed in to change notification settings - Fork 166
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
Various minor meataxe improvements #5957
Conversation
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.
If SMTX_NewEqns
shall be restricted as proposed, the tests in tst/testinstall/meatauto.tst
have to be adjusted.
However, since there are anyhow only very few tests for meatauto.gi
, I do not know whether this is a good idea.
vec := [], # right-hand sides of system | ||
failed := false, # flag to indicate inconsistent system | ||
index := [], # index for row ordering | ||
); |
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.
There is a test in tst/testinstall/meatauto.tst
where the arguments are a matrix and a vector.
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 adjusted the test and added some new ones.
There is only one caller fort his which uses the first argument variant. So just remove the superfluous code.
Instead pass the field to the internal helper SMTX_NilpotentBasis
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.
Looks good, thanks.
for MTX.BasisModuleEndomorphisms and MTX.HomogeneousComponents
- don't modify first argument list in-place, make a copy - remove redundant 'flags' matrix
Recently @fieker pointed out some small inputs for which the GAP meataxe takes unreasonable amounts of time.
While working on resolving these, I have made numerous small tweaks that also should be added. Since they are mostly local and hopefully uncontroversial I am submitting them hereby in a separate PR.