Oh no! Thank you!
On Saturday 9 March 2024 at 23:24:20 UTC+1 Gareth Ma wrote:
> You typed `mononomials` instead of `monomials`. That's a nono.
>
>
> On 09/03/2024 22:22, 'Martin R' via sage-devel wrote:
>
> If I store this in a file "bug.sage" I can do:
>
> sage: load('/home/martin/bug.sage')
>
You typed `mononomials` instead of `monomials`. That's a nono.
On 09/03/2024 22:22, 'Martin R' via sage-devel wrote:
If I store this in a file "bug.sage" I can do:
sage: load('/home/martin/bug.sage')
sage: c = bug()
sage: c.coefficients_mononomials()
--
You received this message because you
Consider the following innocent definition:
def bug():
"""
sage: c = bug()
sage: c.coefficients_mononomials()
"""
R. = QQ[]
p = 20*x1^2 + 20*x1*x2 + 20*x2^2 + 20*x1*x3 + 20*x2*x3 + 20*x3^2
return Sequence([p])
If I store this in a file "bug.sage" I can do:
sage: