-
Notifications
You must be signed in to change notification settings - Fork 160
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
Downrank methods for Matrix
and BaseDomain
introduced in #2640 to unbreak Semigroups
on master
#2754
Conversation
Mhm. of course this also requires tests to be adapted. Maybe an optional down-ranking of the methods in question is a better approach? |
I would simply down rank the methods now, and add a "FIXME: change this later" comment next to them. (And possibly also immediately open a PR which removes this comments, and marked as "do not merge", as a reminder that we need to do so; alternatively, an issue where we track this; might as well be issue #2737, too) |
To be clearer: I would not bother adding this command line flag; just downrank all relevant methods by the same offset, so that the semigroups methods get up high enough. If that is sufficient to fix the problem, that is... I.e. if you know a reason why this won't work, please simply ignore me. |
I agree, let my try that... |
Matrix
and BaseDomain
introduced in #2640 to unbreak Semigroups
on master
a449cb0
to
ecb3225
Compare
Codecov Report
@@ Coverage Diff @@
## master #2754 +/- ##
==========================================
+ Coverage 75.87% 75.87% +<.01%
==========================================
Files 481 481
Lines 241310 241310
==========================================
+ Hits 183098 183102 +4
+ Misses 58212 58208 -4
|
ecb3225
to
515e149
Compare
One possible concern, the fact the methods still exist means if anyone starts using the MatrixObj code, their stuff will get "broken" if they load semigroups? |
I am tempted to say "don't do that then" right now ;) If they write new code and want matrix objects in a particular filter, they can still make them. The |
I'm still tempted to just rename the methods in Semigroups, and then in time to remove them altogether. I will try to look at this this afternoon. |
I approve of this, as a temporary fix, provided that all of the Semigroups package tests run (pending), and the GAP tests run when Semigroups is loaded. What I'd like to understand better is what a "proper" fix would look like. As far as I can see, the only proper fix for this is where Semigroups uses matrix objects (as it currently does) is for MatrixObjects should be a proper object (as per the comments I made in Issue #2737). Another option is for Semigroups to stop using matrix objects altogether. I'd like to know which of these options I should plan for. |
This breaks some tests of
I am all for 2, |
For completeness, with
i.e. two of them is are printing differences, and two are the non-existence of a |
515e149
to
ab46263
Compare
This addresses #2737 in that
SemigroupsTestStandard()
passes now.An alternative solution would just rank down the appropriate methods for
Matrix
andBaseDomain
until a fix is integrated into Semigroups.The fix for
Semigroups
will likely involve taking most custom matrix code out, which was the long-term plan all along according to @james-d-mitchell. For that it would obviously be good if theMatrixObj
code was suitably stable (at least by the time releases happen).