use multiplicative group of a Ring by default
This commit is contained in:
parent
633f2222c8
commit
2f2118a011
@ -163,6 +163,11 @@ function compute_orbit_data{T<:GroupElem}(logger, name::String, G::Group, S::Vec
|
|||||||
|
|
||||||
info(logger, "Generating ball of radius 4")
|
info(logger, "Generating ball of radius 4")
|
||||||
@time E4, sizes = Groups.generate_balls(S, G(), radius=2*radius);
|
@time E4, sizes = Groups.generate_balls(S, G(), radius=2*radius);
|
||||||
|
if isa(G, Nemo.Ring)
|
||||||
|
Id = one(G)
|
||||||
|
else
|
||||||
|
Id = G()
|
||||||
|
end
|
||||||
info(logger, "Reverse dict")
|
info(logger, "Reverse dict")
|
||||||
@time E_dict = GroupRings.reverse_dict(E4)
|
@time E_dict = GroupRings.reverse_dict(E4)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user