Closed rtoy closed 2 days ago
Imported from SourceForge on 2024-07-04 19:40:58 Created by robert_dodier on 2006-07-06 06:05:21 Original: https://sourceforge.net/p/maxima/bugs/306/#aabe
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.
Imported from SourceForge on 2024-07-04 19:41:01 Created by robert_dodier on 2006-07-06 06:05:21 Original: https://sourceforge.net/p/maxima/bugs/306/#840e
Imported from SourceForge on 2024-07-04 19:41:04 Created by robert_dodier on 2006-07-14 02:08:50 Original: https://sourceforge.net/p/maxima/bugs/306/#f592
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.
Imported from SourceForge on 2024-07-04 19:41:08 Created by macrakis on 2006-07-14 07:01:16 Original: https://sourceforge.net/p/maxima/bugs/306/#3260
Logged In: YES user_id=588346
confirmed fix in 5.9.3 gcl Windows
Imported from SourceForge on 2024-07-04 19:41:11 Created by macrakis on 2006-07-14 07:01:16 Original: https://sourceforge.net/p/maxima/bugs/306/#ba39
Imported from SourceForge on 2024-07-04 19:40:56 Created by macrakis on 2003-05-06 01:48:21 Original: https://sourceforge.net/p/maxima/bugs/306
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