Skip to content

Commit

Permalink
one more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Feb 5, 2024
1 parent 6f71261 commit 7e52363
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/antic/nf_elem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1206,6 +1206,15 @@ function show_cyclo(io::IO, a::AbsSimpleNumField)
print(io, "Cyclotomic field of order $(get_attribute(a, :cyclo))")
end

function show_cyclo(io::IO, ::MIME"text/plain", a::AbsSimpleNumField)

Check warning on line 1209 in src/antic/nf_elem.jl

View check run for this annotation

Codecov / codecov/patch

src/antic/nf_elem.jl#L1209

Added line #L1209 was not covered by tests
# TODO: change to print something with "cyclotomic" in it
@assert is_cyclo_type(a)
print(io, "Number field with defining polynomial ", defining_polynomial(a))
println(io)
io = pretty(io)
print(io, Indent(), "over ", Lowercase(), QQ, Dedent())

Check warning on line 1215 in src/antic/nf_elem.jl

View check run for this annotation

Codecov / codecov/patch

src/antic/nf_elem.jl#L1211-L1215

Added lines #L1211 - L1215 were not covered by tests
end


@doc raw"""
cyclotomic_real_subfield(n::Int, s::VarName = "(z_$n + 1/z_$n)", t = "\$"; cached = true)
Expand Down

0 comments on commit 7e52363

Please sign in to comment.