Opened 9 years ago
Closed 9 years ago
#1345 closed defect (fixed)
[with patch, with positive review] I is sometimes wrapped in SymbolicConstant, sometimes not
Reported by: | cwitty | Owned by: | mhansen |
---|---|---|---|
Priority: | major | Milestone: | sage-2.8.15 |
Component: | calculus | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
This behavior seems strange:
sage: foo = I+I sage: foo._operands [I, I] sage: [type(i) for i in foo._operands] [<class 'sage.calculus.calculus.SymbolicConstant'>, <class 'sage.functions.constants.I_class'>]
And here's another strange thing (probably the same bug):
sage: is_SymbolicExpression(SR(I)) False
Attachments (1)
Change History (6)
Changed 9 years ago by
comment:1 Changed 9 years ago by
- Status changed from new to assigned
- Summary changed from I is sometimes wrapped in SymbolicConstant, sometimes not to [with patch] I is sometimes wrapped in SymbolicConstant, sometimes not
comment:2 Changed 9 years ago by
- Milestone changed from sage-2.9 to sage-2.8.15
comment:3 Changed 9 years ago by
comment:4 Changed 9 years ago by
- Summary changed from [with patch] I is sometimes wrapped in SymbolicConstant, sometimes not to [with patch, with positive review] I is sometimes wrapped in SymbolicConstant, sometimes not
The code looks good and the doctests in the affected files pass. I approve.
comment:5 Changed 9 years ago by
- Resolution set to fixed
- Status changed from assigned to closed
Merged in 2.8.15.alpha0.
Note: See
TracTickets for help on using
tickets.
This should be applied after #847.