From: SourceForge.net <no...@so...> - 2003-05-06 01:48:21
|
Bugs item #733030, was opened at 2003-05-05 21:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=733030&group_id=4933 Category: None Group: None Status: Open Resolution: None 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=733030&group_id=4933 |