Ask Your Question

Revision history [back]

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].