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
GF(p) constructor should check primality of p only once #12210
Comments
Attachment: 12210_GF_p_is_prime.patch.gz |
comment:2
I'm currently reviewing this |
comment:3
For some reason the patch keep failing to apply, I've upgraded sage to 7.4.2 to be sure, but it still doesn't apply. I get
I'm assuming I'm doing something wrong or something, so someone else can take the reviewing over while I try to sort out the problem on my machine. |
comment:4
I think you have to upgrade to 4.8.alpha4 to apply this. |
comment:5
It is because of #11784, you could try applying that patch first |
Dependencies: #11784 |
Reviewer: Marco Streng |
comment:6
All long tests pass on 4.8.alpha4. |
Merged: sage-5.0.beta1 |
In the
FiniteField
constructor, it is first checked whether the order is a prime power, and then whether it is prime. If the order is prime, this means that the primality of the order will be checked twice.Depends on #11784
Component: number theory
Keywords: sd35
Author: Jeroen Demeyer
Reviewer: Marco Streng
Merged: sage-5.0.beta1
Issue created by migration from https://trac.sagemath.org/ticket/12210
The text was updated successfully, but these errors were encountered: