rtoy / maxima

A Clone of Maxima's repo
Other
0 stars 0 forks source link

MAKELIST translation bug #462

Closed rtoy closed 2 months ago

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-02 22:25:57 Created by rtoy on 2002-07-02 14:50:33 Original: https://sourceforge.net/p/maxima/bugs/79


On the maxima mailing list, Wolfgang Jenker wrote, in part (see Bug 576407):

3) Now, suppose the bounds (l and u in the example above) are not declared (or otherwise known to Maxima) to be FIXNUMs, say you want to translate

harm_bar(l,u):=sum(1/i,i,l,u);

In this case Maxima generates completely different lisp code, viz. a call to DOSUM. Now, the current environment has to be accounted for somehow, and this is handled by FUNGEN&ENV-FOR-MEVALSUMARG, which however contains an obsolete construction and triggers an error.

...

while

http://members.inode.at/wjenkner/maxima/fcall.lisp.diff (1kB)

should take care of 3).

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-02 22:25:58 Created by rtoy on 2002-07-02 20:59:20 Original: https://sourceforge.net/p/maxima/bugs/79/#3a87


Logged In: YES user_id=28849

Referenced patch applied.

rtoy commented 2 months ago

Imported from SourceForge on 2024-07-02 22:26:02 Created by rtoy on 2002-07-02 20:59:20 Original: https://sourceforge.net/p/maxima/bugs/79/#6e64