-
Notifications
You must be signed in to change notification settings - Fork 165
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
It's possible to construct integer matrices that are not matrices #4885
Comments
for square list of lists and otherwise bails out. This resolves gap-system#4885
for square list of lists and otherwise bails out. This resolves gap-system#4885
These are indeed both bugs. The assignment one should be relatively easy to fix. For the inversion bug, we should of course also fix it, but I am slightly concerned about performance; ideally, the function computing the inverse would already produce the error as soon as it computes a non-integer result. But right now, we'll compute the inverse by calling another GAP function, and then at the end we'll have to scan all entries to see if any is non-integer. That's annoyingly expensive... Then again, I think it is likely our inversion code is non-optimal for large integer matrices anyway, so I am probably "worrying" for nothing. Anyway, we should first make it correct, and then later can tune it as needed. But before anybody delves too deeply into the |
for square list of lists and otherwise bails out. This resolves gap-system#4885
for square list of lists and otherwise bails out. This resolves gap-system#4885
for square list of lists and otherwise bails out. This resolves gap-system#4885
for square list of lists and otherwise bails out. This resolves gap-system#4885
As the title suggests, it's possible to create matrices over the integers, which are non-rectangular (i.e. not matrices), which think they are:
Observed behaviour
Expected behaviour
Perhaps this is the intended behaviour, but at the very least the following should probably occur.
The text was updated successfully, but these errors were encountered: