Opened 7 years ago

Closed 7 years ago

#19576 closed defect (fixed)

parentheses around coefficients of asymptotic expansions

Reported by: Daniel Krenn Owned by:
Priority: major Milestone: sage-7.0
Component: asymptotic expansions Keywords:
Cc: Benjamin Hackl, Clemens Heuberger Merged in:
Authors: Clemens Heuberger Reviewers: Daniel Krenn
Report Upstream: N/A Work issues:
Branch: 8f7195f (Commits, GitHub, GitLab) Commit: 8f7195f7f8875ea81bd8b9026a138e269f719a4d
Dependencies: Stopgaps:

Status badges

Description (last modified by Daniel Krenn)

sage: C.<c> = AsymptoticRing('c^ZZ', SR)
sage: (1+pi)*c

returns

pi + 1*c

but should return

(pi + 1)*c

Change History (5)

comment:1 Changed 7 years ago by Daniel Krenn

Description: modified (diff)

comment:2 Changed 7 years ago by Daniel Krenn

Keywords: beginner added

comment:3 Changed 7 years ago by Clemens Heuberger

Authors: Clemens Heuberger
Branch: u/cheuberg/asy/print-parentheses-if-needed
Commit: 8f7195f7f8875ea81bd8b9026a138e269f719a4d
Keywords: beginner removed
Milestone: sage-6.10sage-7.0
Status: newneeds_review

New commits:

8f7195fTrac #19576: parentheses around coefficients of asymptotic expansions

comment:4 Changed 7 years ago by Daniel Krenn

Reviewers: Daniel Krenn
Status: needs_reviewpositive_review

LGTM

comment:5 Changed 7 years ago by Volker Braun

Branch: u/cheuberg/asy/print-parentheses-if-needed8f7195f7f8875ea81bd8b9026a138e269f719a4d
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.