TypeError : Object not iterable
I am trying to build the multiplicative group of a finite field.
I define a finite field, its multiplicative group, and a conversion map from the finite field to its multiplicative group as follows:
sage: F.<a> = GF(7^2)
sage: G = AbelianGroupWithValues([a], n=1,
....: gens_orders=[48], values_group=F)
sage: phi = G.convert_map_from(F)
Up to here, everything is fine.
Now there is an error when trying to use phi:
sage: phi(a)
Traceback (most recent call last)
...
TypeError: 'sage.rings.finite_rings.element_givaro.FiniteField_givaroElement' object is not iterable
What does this mean?
Related to: