Support AbelianInvariants
for infinite cyclic groups
#5410
Merged
AbelianInvariants
for infinite cyclic groups
#5410