From: SourceForge.net <no...@so...> - 2006-07-14 07:01:19
|
Bugs item #733030, was opened at 2003-05-05 21:48 Message generated for change (Comment added) made by macrakis You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=733030&group_id=4933 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Lisp Core Group: To be reviewed >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Stavros Macrakis (macrakis) Assigned to: Nobody/Anonymous (nobody) Summary: Weird trigexpand interaction /FIX? Initial Comment: makelist(f(sin(x)^2-cos(x)^2),f,['trigreduce,'trigexpand]); gives the error "Improper name or value in functional position: 2". The problem is that the internal function sp1add is somehow modifying the fluid variable "arg", which is also used by makelist. I found this using: (trace (sp1add :entry (if (boundp 'arg) (list 'sp1add arg)) :exit (if (boundp 'arg) (list 'sp1add arg)))) I do not understand how arg is being modified. The code clearly *binds* arg in the let*. The subfunctions are not modifying arg. I have been unable to reproduce this problem using source. When I load sp1add from source, it works fine; also if I compile sp1add. Perhaps there is some problem with the non-standard let* function? or with the compiler it was built on? I am grasping at straws. Maxima 5.9.0 mingw Windows 2000 Athlon ---------------------------------------------------------------------- >Comment By: Stavros Macrakis (macrakis) Date: 2006-07-14 03:01 Message: Logged In: YES user_id=588346 confirmed fix in 5.9.3 gcl Windows ---------------------------------------------------------------------- Comment By: Robert Dodier (robert_dodier) Date: 2006-07-13 22:08 Message: Logged In: YES user_id=501686 Not observed in 5.9.3 / gcl 2.6.7 on Windows. (Although the bug is observed in 5.9.2 / gcl 2.6.7 on Windows.) Someone else please try 5.9.3 on Windows. ---------------------------------------------------------------------- Comment By: Robert Dodier (robert_dodier) Date: 2006-07-06 02:05 Message: Logged In: YES user_id=501686 Not observed in 5.9.3cvs / clisp 2.38, sbcl 0.9.9, gcl 2.6.7 (all Linux). Recheck with gcl / Windows and if that does not trigger the bug, then let's close this report. ---------------------------------------------------------------------- Comment By: Raymond Toy (rtoy) Date: 2003-08-03 09:10 Message: Logged In: YES user_id=28849 This doesn't cause an error with CMUCL. Are you using gcl? A bug in GCL perhaps? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=733030&group_id=4933 |