Closed rwst closed 4 years ago
Author: Frédéric Chapoton
Branch: u/chapoton/25119
Changed keywords from none to integral
Here is a fix (bandaid). One should report upstream to maxima.
New commits:
744d626 | fix some details in integration, make one more integral work |
bots are morally green, please review
Thanks, Frédéric. Can I ask whether the changes other than the new doctest and the addition of RunTimeError
are nontrivial? I don't think so, but there were a lot of prettification changes.
In vanilla Maxima:
(%i4) domain:complex;
(%o4) complex
(%i5) integrate(sqrt(x^2)/x,x);
expt: undefined: 0 to a negative exponent.
-- an error. To debug this try: debugmode(true);
However, before giving positive review, I'd suppose we'd want a way to check that this one was fixed - maybe # known bug
below it where we require algorithm='maxima'
?
Upstream: Reported upstream. No feedback yet.
All the other changes are purely white space removal or addition, for the sake of flake8 conmpliance.
I guess one could a "known bug" doctest, yes.
Ah yes. I haven't used that, personally, but I'm sure it complains a lot. Unfortunately, it just makes tickets harder to review at times. I won't raise this on -devel because I know how annoyingly much extra work it would be, but having two different commits for that sort of thing is helpful to reviewers.
Do you want the "known bug" doctest ? This does not seem to be really necessary to me. We are not responsible for maxima bugs.
Reviewer: Karl-Dieter Crisman
It would be nice, because we typically do this in other cases. But I guess since in this case it is an actual exception raised, as opposed to a wrong result we had to work around, it is not necessary.
But if Volker complains about failing doctests, I am trusting your morally green patchbot :-) Just upgraded OS (still several versions behind) and so won't be building new Sage for a little while until I have time to check that command line tools are working properly.
Changed branch from u/chapoton/25119 to 744d626
See Maxima bug 3657.
Upstream: Reported upstream. No feedback yet.
CC: @slel @kcrisman
Component: calculus
Keywords: integral
Author: Frédéric Chapoton
Branch/Commit:
744d626
Reviewer: Karl-Dieter Crisman
Issue created by migration from https://trac.sagemath.org/ticket/25119