Skip to content
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

Minor fixes that could go into 4.10 as well #3508

Merged
merged 2 commits into from
Jun 25, 2019
Merged

Conversation

hulpke
Copy link
Contributor

@hulpke hulpke commented Jun 18, 2019

These are fixes for (an issue related to #3431) and #3496.
The circumstances of the errors are complicated and there were error messages, not wrong results, that I do not think they of help to describe them explicitly in an update description beyond summarizing them as "numerous errors")

Both issues are in 4.10 code.

Fixes #3496

hulpke added 2 commits June 18, 2019 11:37
if source size is known and equals image size.

This fixes gap-system#3431
The code assumed erraneously that the `IsomorphismFpGroup` of the radical
factor is given on the free generators. That does not need to be the case
(in which case weird errors happen).
This fixes gap-system#3496.
@hulpke hulpke added kind: bug: unexpected error Issues describing bugs in which computation unexpectedly encounters an error, and PRs fixing them topic: library backport-to-4.10 labels Jun 18, 2019
@hulpke hulpke changed the title Fixes Minor fixes that could go into 4.10 as well Jun 18, 2019
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0005%) to 85.259% when pulling 5c69167 on hulpke:fixes into f7f36d7 on gap-system:master.

@olexandr-konovalov olexandr-konovalov added this to the GAP 4.10.3 milestone Jun 18, 2019
@olexandr-konovalov
Copy link
Member

@hulpke thanks. I've assigned this to 4.10.3 milestone - suggest to NOT to backport this to stable-4.10 until GAP 4.10.2 is out (expect to happen later this week).

Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, though the SetIsInjective call could be made slightly more general (see change suggestions)

@@ -878,6 +878,9 @@ local g, sq, hom;
g:=arg[1];
sq:=CallFuncList(SQ,arg);
hom:=GroupHomomorphismByImages(g,sq.image,GeneratorsOfGroup(g),sq.imgs);
if HasSize(g) and Size(g)=Size(sq.image) then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if HasSize(g) and Size(g)=Size(sq.image) then
if HasSize(g) then

@@ -878,6 +878,9 @@ local g, sq, hom;
g:=arg[1];
sq:=CallFuncList(SQ,arg);
hom:=GroupHomomorphismByImages(g,sq.image,GeneratorsOfGroup(g),sq.imgs);
if HasSize(g) and Size(g)=Size(sq.image) then
SetIsInjective(hom,true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
SetIsInjective(hom,true);
SetIsInjective(hom, Size(g)=Size(sq.image));

Copy link
Member

@olexandr-konovalov olexandr-konovalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not merge this now. I will approve this PR once 4.10.2 will be out. For now "requesting changes" just to block merging.

@wilfwilson
Copy link
Member

@alex-konovalov You can remove your requested changes.

@olexandr-konovalov
Copy link
Member

@wilfwilson done!

@olexandr-konovalov olexandr-konovalov added the release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes label Jun 24, 2019
@olexandr-konovalov
Copy link
Member

@hulpke I set release notes: not needed" label then.

@wilfwilson wilfwilson merged commit fbd293a into gap-system:master Jun 25, 2019
@olexandr-konovalov olexandr-konovalov modified the milestones: GAP 4.10.3, GAP 4.11.0 Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug: unexpected error Issues describing bugs in which computation unexpectedly encounters an error, and PRs fixing them release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in testbugfix with fr loaded
5 participants