Can you provide a little bit more context to your problem (i.e. more code)? This TypeError message is very generic and it tells you that "st" is an integer. When it says that it is "
not callable" it means that you cannot write " st(something) ". For example, this recreate the same error message:
sage: st = 42
sage: st([1,2,3])
Traceback (most recent call last):
...
TypeError: 'sage.rings.integer.Integer' object is not callable
David A.
Le lundi 4 avril 2022 à 01:30:33 UTC-4, Michael a écrit :
Hello,
I started using Sage a couple of months ago. I ran into this error message:
Any ideas on how to resolve this? I'm able to use st(tree.chromatic_symmetric_function()) in other contexts... just having an issue in this case.
Thank you