Menu

#79 MAKELIST translation bug

closed
nobody
None
5
2002-07-02
2002-07-02
Raymond Toy
No

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).

Discussion

  • Raymond Toy

    Raymond Toy - 2002-07-02

    Logged In: YES
    user_id=28849

    Referenced patch applied.

     
  • Raymond Toy

    Raymond Toy - 2002-07-02
    • status: open --> closed
     

Log in to post a comment.