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

Use Lowercase in some show methods #1726

Merged
merged 2 commits into from
Feb 2, 2025
Merged

Conversation

fingolfin
Copy link
Contributor

@fingolfin fingolfin commented Jan 29, 2025

Also tweak how the bases are printed (print basis vector as [x, y] instead of T[x,y])

else
print(io, "infinite dimension ")
end
print(io, " over ", base_ring(A))
else
print(io, "Group algebra of group ")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is independent of this PR, but I was surprised by this show method:

  • terse prints "Group algebra of dimension 10 over QQ"
  • non-terse prints "Group algebra of group of order 10 over QQ"

So the "terse" mode is indeed a little bit shorter, but I wonder why even bother in this case to have two different outputs?

Copy link
Owner

Choose a reason for hiding this comment

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

makes sense

Copy link

codecov bot commented Jan 29, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 76.57%. Comparing base (41aea2f) to head (2c1712f).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/NumFieldOrd/NfOrd/NfOrd.jl 50.00% 6 Missing ⚠️
src/NumFieldOrd/NfOrd/ResidueRing.jl 0.00% 2 Missing ⚠️
src/AlgAss/AlgGrp.jl 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1726      +/-   ##
==========================================
+ Coverage   76.53%   76.57%   +0.03%     
==========================================
  Files         360      360              
  Lines      113622   113631       +9     
==========================================
+ Hits        86961    87011      +50     
+ Misses      26661    26620      -41     
Files with missing lines Coverage Δ
src/GenOrd/GenOrd.jl 82.23% <ø> (ø)
src/AlgAss/AlgGrp.jl 75.28% <75.00%> (+0.16%) ⬆️
src/NumFieldOrd/NfOrd/ResidueRing.jl 85.07% <0.00%> (+0.03%) ⬆️
src/NumFieldOrd/NfOrd/NfOrd.jl 86.08% <50.00%> (-0.28%) ⬇️

... and 29 files with indirect coverage changes

Also tweak how the bases are printed (print basis vector as
`[x, y]` instead of `T[x,y]`)
@thofma
Copy link
Owner

thofma commented Feb 1, 2025

P.S.: Ignore the nightly failure, it will be fixed in #1728

Co-authored-by: Max Horn <max@quendi.de>
@thofma thofma enabled auto-merge (squash) February 2, 2025 08:02
@thofma thofma merged commit 2bb83e9 into thofma:master Feb 2, 2025
16 of 17 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.

2 participants