Hi,

as a newbie I am rather irritated about coercion working in 4.5.2 and
not working in 4.6.
In 4.5.2 the following works nicely and up to expectation

F.<x>=GF(2^4);
for i in range(15):
    a = x^i; print a,'with integer representation', int(a);

in 4.6 (on www.sagenb.org) or 4.6.2 I get

1 with integer representation 1
x with integer representation
Traceback (click to the left of this block for traceback)
...
TypeError: Cannot coerce element to an integer.

Any explanation very much appreciated, Thomas

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to