Skip to content

Conversation

@hgu2699
Copy link
Contributor

@hgu2699 hgu2699 commented Nov 6, 2025

GP: nfsubfields slice fixed (L[2..length(L)], not length(b)).

Oscar: Avoid non-portable API:

Replaced uppercase PolynomialRing/NumberField with lowercase polynomial_ring/number_field.

automorphisms(K) now uses a fallback: isdefined(Main,:automorphisms) ? automorphisms(K) : Hecke.hom(K,K).

Guarded transitive_group_identification(G) with degree(K) > 1.

Fixed root discriminant to compute from discriminant(ring_of_integers(K)) (no stray dK).

Class number formula block uses the lowercase API consistently.

GP: nfsubfields slice fixed (L[2..length(L)], not length(b)).

Oscar: Avoid non-portable API:

Replaced uppercase PolynomialRing/NumberField with lowercase polynomial_ring/number_field.

automorphisms(K) now uses a fallback: isdefined(Main,:automorphisms) ? automorphisms(K) : Hecke.hom(K,K).

Guarded transitive_group_identification(G) with degree(K) > 1.

Fixed root discriminant to compute from discriminant(ring_of_integers(K)) (no stray dK).

Class number formula block uses the lowercase API consistently.
@jwj61
Copy link
Member

jwj61 commented Nov 6, 2025

Why are there so many whitespace changes? Are they an accident, or are they an improvement?

@hgu2699
Copy link
Contributor Author

hgu2699 commented Nov 6, 2025

Why are there so many whitespace changes? Are they an accident, or are they an improvement?

I copy and paste them locally. That’s why.

@assaferan
Copy link
Contributor

This is supposed to resolve #6759

@assaferan assaferan self-requested a review November 7, 2025 16:49
Copy link
Contributor

@assaferan assaferan left a comment

Choose a reason for hiding this comment

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

This seems to fix the errors with number fields in Oscar. Please fix the white spaces issues.

@edgarcosta edgarcosta merged commit d182a0e into LMFDB:main Nov 10, 2025
13 checks passed
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.

4 participants