Skip to content

Commit

Permalink
Merge pull request #2849 from fingolfin/mh/fix-print
Browse files Browse the repository at this point in the history
Remove trailing newlines in show methods
  • Loading branch information
simonbrandhorst committed Sep 25, 2023
2 parents e686e23 + 2ac9844 commit 1a11d14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion experimental/GModule/GaloisCohomology.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1323,7 +1323,7 @@ mutable struct RelativeBrauerGroup
end

function Base.show(io::IO, B::RelativeBrauerGroup)
print(io, "Relative Brauer group for $(B.K) over $(B.k)\n")
print(io, "Relative Brauer group for $(B.K) over $(B.k)")
end

"""
Expand Down
4 changes: 2 additions & 2 deletions src/NumberTheory/GaloisGrp/GaloisGrp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ mutable struct ComplexRootCtx
end

function Base.show(io::IO, GC::GaloisCtx{ComplexRootCtx})
print(io, "Galois Context for $(GC.f) using complex roots\n")
print(io, "Galois Context for $(GC.f) using complex roots")
end

function Hecke.roots(C::GaloisCtx{ComplexRootCtx}, pr::Int = 10; raw::Bool = false)
Expand Down Expand Up @@ -556,7 +556,7 @@ mutable struct SymbolicRootCtx
end

function Base.show(io::IO, GC::GaloisCtx{SymbolicRootCtx})
print(io, "Galois Context for $(GC.f) using symbolic roots\n")
print(io, "Galois Context for $(GC.f) using symbolic roots")
end

function Hecke.roots(C::GaloisCtx{SymbolicRootCtx}, ::Int; raw::Bool = false)
Expand Down

0 comments on commit 1a11d14

Please sign in to comment.