Skip to content

Sums/products of numeric objects should never be held #10069

@kcrisman

Description

@kcrisman

See #9879.

sage: i.mul(2)
2*I
sage: i.mul(2,hold=True)
2*I*
sage: i.mul(2,hold=True).simplify()
2*I
sage: i.mul(i)
-1
sage: i.mul(i,hold=True)
-
sage: i.mul(i,hold=True).simplify()
-1

Component: symbolics

Issue created by migration from https://trac.sagemath.org/ticket/10069

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions