| 1 | initial version |
There is a difference between u and u.trace_polynomial(); the former is a polynomial and the latter is a tuple.
It seems that what you want is just u.trace_polynomial()[0].
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.