Skip to content

Commit 5f17c5e

Browse files
committed
more char field
1 parent e094255 commit 5f17c5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: experimental/GModule/src/GModule.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -2343,7 +2343,8 @@ function Oscar.gmodule(T::Union{Type{CyclotomicField}, Type{AbsSimpleNumField}},
23432343
end
23442344
c = get_attribute(M, :_character_field)
23452345
if c !== nothing
2346-
set_attribute!(N, :_character_field => c)
2346+
fl, em = is_subfield(c[1], base_ring(N))
2347+
set_attribute!(N, :_character_field => (c[1], hom(c[1], base_ring(N), em(gen(c[1])))))
23472348
end
23482349
end
23492350

0 commit comments

Comments
 (0)