Open rtoy opened 4 months ago
Imported from SourceForge on 2024-07-04 00:06:51 Created by macrakis on 2022-09-23 16:23:26 Original: https://sourceforge.net/p/maxima/bugs/2519/#3732
As Robert says, the global array takes precedence over the value of a. This is as designed, so not a bug. But a bad design!
Here are two workarounds which force the use of the value of a rather than its array property:
unbug1(a):=block([], (0,a)[1,1]:0)$ unbug2(a):=block([aval: a], aval[1,1]:0);
Closing as working as designed.
Imported from SourceForge on 2024-07-04 00:06:54 Created by macrakis on 2022-09-23 16:23:47 Original: https://sourceforge.net/p/maxima/bugs/2519/#d578
Imported from SourceForge on 2024-07-04 00:06:49 Created by ygorra33 on 2012-12-17 09:08:44 Original: https://sourceforge.net/p/maxima/bugs/2519
Attachments: