Pb with rk



Hi,

On 06/13/2013 04:15 PM, Jean-Michel Sarlat wrote:
> Hello,
> 
> 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...
> 

This is already fixed in git (commit 45226354 a few weeks ago).  If you don't
want to use the git version, I've attached the patch that fixes the issue
(which I suppose you'll have to apply in /usr/share/maxima/5.30.0).

> JM Sarlat
> 

Cheers,
Kris Katterjohn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rk.patch
Type: text/x-patch
Size: 574 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20130613/a11b62c4/attachment.bin>;