Open rtoy opened 3 months ago
Imported from SourceForge on 2024-07-04 18:02:48 Created by willisbl on 2021-11-30 12:54:19 Original: https://sourceforge.net/p/maxima/bugs/3894/#6749
I think there is another bug--with my own build and after running the testsuite & share testsuite, I get
integrate(bessel_k(1,x),x);
ev: improper argument: sum
Imported from SourceForge on 2024-07-04 18:02:52 Created by macrakis on 2021-11-30 14:11:02 Original: https://sourceforge.net/p/maxima/bugs/3894/#ce26
Yes, ev in Lisp code is always bad news. Unfortunately, adding noeval prevents the sum from having an effect. We need to build better functions for controlled re-evaluation. I have some Maxima code for this (as a prototype) which I should rewrite in Lisp.
Imported from SourceForge on 2024-07-04 18:02:55 Created by willisbl on 2021-11-30 15:09:35 Original: https://sourceforge.net/p/maxima/bugs/3894/#6bfc
For the record, a bug caused by ev:
(%i1) x : y;
(x) y
(%i2) y : z;
(y) z
(%i3) integrate(bessel_k(2,x),x);
(%o3) -(%pi (struve_l(0,z)*bessel_k(1,z)+struve_l(-1,z)*bessel_k(0,z))*y)/2-2*bessel_k(1,z)
The result has both variables y & z.
Imported from SourceForge on 2024-07-04 18:02:47 Created by willisbl on 2021-11-30 11:40:23 Original: https://sourceforge.net/p/maxima/bugs/3894
There is almost surely a missing comma in front of z in bessel-k-integral-2. I don't know how to reliably make this error manifest, but sometimes with my own build, I get this bug after running the testsuite.
Also there is a call to
$ev.
Oh, my. Maybe it would be better to write code like this using the Maxima reader macro?