use multiplicative group of a Ring by default

This commit is contained in:
kalmar 2017-06-08 21:38:58 +02:00
parent 633f2222c8
commit 2f2118a011
1 changed files with 5 additions and 0 deletions

View File

@ -163,6 +163,11 @@ function compute_orbit_data{T<:GroupElem}(logger, name::String, G::Group, S::Vec
info(logger, "Generating ball of radius 4")
@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")
@time E_dict = GroupRings.reverse_dict(E4)