GAP program gives error if "IdGroup" is not called – math.stackexchange.com

Gauss
I am writing GAP code to compute conjugacy classes in Galois groups of certain cyclotomic extensions. Here is a simple mock version of the kind of thing I am talking about: galoisGroup := function(n) ...