Translating Maxima functions.



The error message is showing that k1 is a list containing one number, not a
number. Is that enough information to help you debug?

Thanks for your work on improving and extending Maxima's numerical
capabilities!

         -s
On Oct 18, 2011 7:54 AM, "Panagiotis Papasotiriou" <p.j.papasot at gmail.com>
wrote:

> Could you please replace rkf45_translated.mac with that one:
>
>
> https://sites.google.com/site/pjpapasot/maxima/temporary/rkf45_translated.mac?attredirects=0&d=1
>
> and run Test.mac again? In that version of rkf45_translated, most local
> variables are declared as "float" instead of "any" (which is correct.)
> However, in my system that gives the following error when I run Test.mac:
>
> Maxima encountered a Lisp error:
>  Error in * [or a callee]: ((MLIST SIMP) 1.9999800000000002E-7) is not of
> type NUMBER.
>
> The error is actually generated at line 113 of the code, which reads:
>
> k2:h*odes(xi+0.25*h,yi+0.25*k1),
>
> here, k1, computed at line 112, is 1.9999800000000002E-7 and, for some
> reason, that value is not accepted as a number, hence the error. I am
> curious to know if you get the same error.
>
> 2011/10/18 Michel Talon <talon at lpthe.jussieu.fr>
>
>> Panagiotis Papasotiriou wrote:
>> > Everything is installed from Debian repositories. Maxima version
>> installed
>> > is 5.24, as this is the "official" latest release yet. SBCL is also
>> > installed from the original Debian package, and it it version 1.0.51.
>> >
>>
>> Sure, but i am not so confident that everything in Debian repositories
>> work
>> OK. For example i have seen severely broken mplayer coming from "quasi
>> official" repositories, and i had to recompile it myself. In the present
>> cases
>> i have doubts about sbcl, since you have already seen two problems. Maybe
>> this
>> 64 bits sbcl doesn't work OK, i don't know.
>>
>>
>>
>> --
>> Michel Talon
>>
>> _______________________________________________
>> Maxima mailing list
>> Maxima at math.utexas.edu
>> http://www.math.utexas.edu/mailman/listinfo/maxima
>>
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>