-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
Strange integration error/hang with log(abs(sin(x))) #17468
Comments
comment:2
See https://sourceforge.net/p/maxima/bugs/2853/ and note that the closely related integral |
Upstream: Reported upstream. No feedback yet. |
comment:3
See also #12731. |
comment:4
Apparently upstream Commit:eb935150c3d2c7717601da5bce470cb7f95f15df fixes this. |
Changed upstream from Reported upstream. No feedback yet. to Fixed upstream, but not in a stable release. |
comment:5
For the first example, with Maxima 5.35.1 (see #17514), I get the following error after a very long time (maybe 20 minutes):
For the second example:
|
comment:6
This might be https://sourceforge.net/p/maxima/bugs/2860/, see also https://sourceforge.net/p/maxima/bugs/2859/ |
comment:7
Also directly in Maxima (with a very long time between "encountered log(0)" and "encountered a Lisp error"):
|
comment:8
Replying to @kcrisman:
At first sight it seems to be a different error; the ones in the Maxima bug tracker occur sooner (the second one after a few seconds, the others almost immediately) and look different.
|
comment:9
Also, with the latest Git version of Maxima (and using GCL) the error has disappeared and there is just an "encountered log(0)" message:
I guess the reason for the errors in comment:5 and comment:7 was that http://sourceforge.net/p/maxima/bugs/2853/ was only fixed after Maxima 5.35.1 was released. |
Changed keywords from none to abs_integrate |
New commits:
|
Commit: |
Branch: u/chapoton/17468 |
Author: Frédéric Chapoton |
comment:13
bot is morally green, please review |
comment:14
Looks good. I also did an independent numerical correctness check for these answers (using PARI/GP). |
Changed upstream from Fixed upstream, but not in a stable release. to Completely fixed; Fix reported upstream |
Reviewer: Peter Bruin |
Changed branch from u/chapoton/17468 to |
Here is something that hangs.
Interestingly, we get
but in the shell, we get
The problem in Sage directly is
after which it hangs, and I'll report that upstream. But I don't know what the error in
maxima_calculus
is!Upstream: Completely fixed; Fix reported upstream
CC: @nbruin @pjbruin @rwst @tscrim
Component: calculus
Keywords: abs_integrate
Author: Frédéric Chapoton
Branch/Commit:
d1b9085
Reviewer: Peter Bruin
Issue created by migration from https://trac.sagemath.org/ticket/17468
The text was updated successfully, but these errors were encountered: