Pb with rk



On 06/13/2013 10:15 PM, Jean-Michel Sarlat wrote:
> It seems to me that rk incorrectly increments the time variable...
>
> (%i1) fpprintprec:5;rk(x+t,x,1,[t,1,3,0.5]);
> (%o1)                                  5
> (%o2) [[1.0, 1.0], [0.5, 2.4453], [1.0, 4.5036], [1.5, 8.2207], [2.0, 
> 14.672]]
> (%i3)
>
> I use Maxima 5.30.0 (rk is coded in Lisp) - GCL 2.6.7 (Debian testing).
> With Maxima 5.29  (rk is a macro), there is no problem...
>
>

Hi,
you're right. It is a bug that I involuntarily introduced in 5.30.0 but 
that Kris Katterjohn kindly fixed last May 17.
You can get the newest version of the file 
share/dynamics/complex_dynamics.lisp from the GIT repository or you can 
fixed your local copy by hand:

Type load("complex_dynamics.lisp"); in Maxima to find out the file's 
location in your system and then do the following change:

268c268
<            `(,(* (1+ m) (caddr it)))
---
 >            `(,(+ (car it) (* (1+ m) (caddr it))))

Thanks for your report and please keep telling us any other bugs you find.

Regards,
Jaime