Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kcrisman opened this issue Oct 5, 2010 · 2 comments
Open

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

kcrisman opened this issue Oct 5, 2010 · 2 comments

Comments

@kcrisman
Copy link
Member

kcrisman commented Oct 5, 2010

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

@kcrisman kcrisman added this to the sage-5.11 milestone Oct 5, 2010
@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@rwst
Copy link

rwst commented Aug 22, 2017

comment:5

I think it's a defect but in the sense that products of numeric objects should never be held. You will find that using the above constructs will cause all sort of problems.

@rwst rwst changed the title Typesetting with hold=True can be weird Sums/products of numeric objects should never be held Aug 22, 2017
@rwst rwst modified the milestones: sage-6.4, sage-8.1 Aug 22, 2017
@rwst
Copy link

rwst commented Sep 3, 2017

comment:6

However, pynac/pynac#273

@mkoeppe mkoeppe removed this from the sage-8.1 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants