#3013 closed defect (fixed)
[with patch, positive review] bug in integrate (found during a talk!)
Reported by: | was | Owned by: | was |
---|---|---|---|
Priority: | major | Milestone: | sage-3.1.2 |
Component: | calculus | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by chapoton)
sage: integrate(sin(x)*cos(10*x)*log(x)) Traceback (most recent call last): ... TypeError: Error executing code in Maxima CODE: sage22 : integrate(sage21,sage3)$ Maxima ERROR: Too many contexts. sage: show(integrate(sin(x^2)
Attachments (1)
Change History (9)
comment:1 Changed 8 years ago by was
comment:2 Changed 8 years ago by mabshoff
This is fixed in Maxima 5.15.
Cheers,
Michael
comment:3 Changed 8 years ago by mabshoff
- Summary changed from bug in integrate (found during a talk!) to [fix in upstream Maxima] bug in integrate (found during a talk!)
comment:4 Changed 8 years ago by mabshoff
This now works:
mabshoff@sage:/scratch/mabshoff/release-cycle/sage-3.1.2.alpha0$ ./sage ---------------------------------------------------------------------- | SAGE Version 3.1.1, Release Date: 2008-08-17 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: integrate(sin(x)*cos(10*x)*log(x)) (9*integrate(cos(11*x)/x, x) - 11*integrate(cos(9*x)/x, x) - 9*log(x)*cos(11*x) + 11*log(x)*cos(9*x))/198
So once we add a doctest we can close this ticket.
Cheers,
Michael
Changed 8 years ago by mabshoff
comment:5 Changed 8 years ago by mabshoff
- Summary changed from [fix in upstream Maxima] bug in integrate (found during a talk!) to [with patch, needs review] bug in integrate (found during a talk!)
Maxima returns a solution that is partially unevaluated, so merging this might or might not be a good idea.
Cheers,
Michael
comment:6 Changed 8 years ago by mhansen
- Summary changed from [with patch, needs review] bug in integrate (found during a talk!) to [with patch, positive review] bug in integrate (found during a talk!)
comment:7 Changed 8 years ago by mabshoff
- Resolution set to fixed
- Status changed from new to closed
Merged in Sage 3.1.2.alpha0
comment:8 Changed 8 months ago by chapoton
- Description modified (diff)
- Report Upstream set to N/A
Note: See
TracTickets for help on using
tickets.
This is also a Maxima bug: