-
Notifications
You must be signed in to change notification settings - Fork 19
Restore compatibility with the matgrp package #485
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -86,7 +86,22 @@ end); | |
| InstallGlobalFunction(BindRecogMethod, | ||
| function(rname, arg...) | ||
| local r, name; | ||
| r := ValueGlobal(rname); | ||
| if IsString(rname) then | ||
| r := ValueGlobal(rname); | ||
| elif rname = FindHomMethodsMatrix and arg[1] = "Nonfield" and EndsWith(INPUT_FILENAME(), "recograt.gi") then | ||
| # FIXME/HACK: backwards compatibility for the matgrp package | ||
| rname := "FindHomMethodsMatrix"; | ||
| r := FindHomMethodsMatrix; | ||
| arg[Length(arg)] := | ||
| function(ri) | ||
| if IsBound(ri!.ring) and not IsBound(ri!.field) then | ||
| Error("hereIAm"); | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What does this error mean? I see that it has been copied from matgrp but I'm not sure what it means.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it means that this is a debug left-over that should just be removed from Perhaps @hulpke was working on support for |
||
| fi; | ||
| return NeverApplicable; | ||
| end; | ||
| else | ||
| Error("<rname> must be the name of a global variable containing a record"); | ||
| fi; | ||
| r.(arg[1]) := CallFuncList(RecogMethod, arg); | ||
| name := Concatenation(rname, ".", arg[1]); | ||
| SetNameFunction(r.(arg[1])!.func, name); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.