-
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
Fix for computing quotients of certain algebra modules #1669
Conversation
This is the error on HPC-GAP:
If somebody wants to look into it, be my guest... |
There was an alternative fix suggested by Willem De Graaf on the mailing list. At least one of them should be in GAP 4.9. |
This needs fixing for HPC-GAP (and probably a rebase). |
For the record, Willem's reply is in his email "[GAP Support] BUG in DirectSumOfAlgebraModules or inquotient-module function?" on 14/09/2017. |
This avoids a call to the enumerator of the coefficient space if all we want to do is test whether a vector is contained in the span of the basis.
cad8d1e
to
418d7f7
Compare
Codecov Report
@@ Coverage Diff @@
## master #1669 +/- ##
==========================================
+ Coverage 63.49% 63.56% +0.07%
==========================================
Files 952 952
Lines 286804 286813 +9
Branches 12722 12722
==========================================
+ Hits 182103 182311 +208
+ Misses 101899 101708 -191
+ Partials 2802 2794 -8
|
I updated this PR to use the fix proposed by Willem instead of my original fix, as his fix corrects additional problems -- one is that I also tracked down and corrected the problem on HPC-GAP, and added another commit which very slightly improves performance for |
The issue was originally reported by Rudolf Tange on the GAP support mailing list. The fix is due to Willem De Graaf.
Specifically, stop trying to set the (unused) 2nd position in a IsDirectSumElementFamily. That access is harmless (albeit pointless) in GAP, but causes an error in HPC-GAP.
d8845c7
to
5d401f0
Compare
The issue was originally reported by Rudolf Tange on the GAP support mailing list.