Skip to content

Conversation

@FriedrichRober
Copy link
Collaborator

Closes #66

Unfortunately the method `PQuotient` ungracefully throws an error, instead of returning fail.
@FriedrichRober
Copy link
Collaborator Author

Unfortunately the method PQuotient ungracefully throws an error, instead of returning fail when the groups get too large. So we need to move the discussion to gap lib, to see if we can change this behaviour.


# Create the Isomorphism to the group structure of the `p`-Module `M`
P := PQuotient(IH, p, 1, LINS_MaxPGenerators);
logord := Int(Log(Float(n / rH!.Index))/Log(Float(p)));
Copy link
Member

Choose a reason for hiding this comment

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

How about

Suggested change
logord := Int(Log(Float(n / rH!.Index))/Log(Float(p)));
logord := LogInt(QuoInt(n, rH!.Index), p) + 1;

or so?

# Create the Isomorphism to the group structure of the `p`-Module `M`
P := PQuotient(IH, p, 1, LINS_MaxPGenerators);
logord := Int(Log(Float(n / rH!.Index))/Log(Float(p)));
P := PQuotient(IH, p, 1, logord);
Copy link
Member

Choose a reason for hiding this comment

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

You could already pass noninteractive in anticipation of gap-system/gap#5816 being merged into GAP?

Suggested change
P := PQuotient(IH, p, 1, logord);
P := PQuotient(IH, p, 1, logord : noninteractive);

@fingolfin
Copy link
Member

I would suggest adding a test case, e.g. the example from issue #66.

Other than that I am not quite sure why this is a draft: are you saying it doesn't actually fix issue #66 on its own, only together with your GAP patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error with LowIndexNormalSubs : Large Indexes

3 participants