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

Refactor FOO_type functions #1702

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

fingolfin
Copy link
Contributor

Provide generic methods which delegate from instances to types. Then delete many implementations for instances, and keep only those for types.

Also add missing fractional_ideal_type(::Type{QQField}).

Provide generic methods which delegate from instances to
types. Then delete many implementations for instances, and
keep only those for types.

Also add missing `fractional_ideal_type(::Type{QQField})`.
Copy link

codecov bot commented Dec 9, 2024

Codecov Report

Attention: Patch coverage is 69.23077% with 4 lines in your changes missing coverage. Please review.

Project coverage is 75.87%. Comparing base (749a3fb) to head (29b2d09).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/Hecke.jl 60.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1702      +/-   ##
==========================================
- Coverage   76.00%   75.87%   -0.13%     
==========================================
  Files         362      362              
  Lines      114378   114363      -15     
==========================================
- Hits        86932    86774     -158     
- Misses      27446    27589     +143     
Files with missing lines Coverage Δ
src/AlgAss/AlgGrp.jl 75.12% <ø> (+0.24%) ⬆️
src/AlgAss/AlgMat.jl 89.45% <ø> (+0.39%) ⬆️
src/AlgAss/AlgQuat.jl 90.65% <ø> (-0.06%) ⬇️
src/AlgAss/StructureConstantAlgebra.jl 93.62% <ø> (-0.02%) ⬇️
src/AlgAssAbsOrd/Order.jl 75.48% <ø> (+0.26%) ⬆️
src/NumField/ComplexEmbeddings/NfAbs.jl 87.24% <ø> (-0.04%) ⬇️
src/NumField/ComplexEmbeddings/NfAbsNS.jl 99.36% <ø> (-0.01%) ⬇️
src/NumField/ComplexEmbeddings/NfRel.jl 98.50% <ø> (-0.02%) ⬇️
src/NumField/NfAbs/NfAbs.jl 68.85% <ø> (-0.05%) ⬇️
src/NumField/NfAbs/NonSimple.jl 82.40% <ø> (+0.12%) ⬆️
... and 7 more

... and 34 files with indirect coverage changes

@thofma thofma enabled auto-merge (squash) December 9, 2024 16:32
@thofma thofma merged commit e566065 into thofma:master Dec 9, 2024
17 checks passed
@fingolfin fingolfin deleted the mh/type-traits branch December 10, 2024 16:43
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.

2 participants