I defined a function par(x,y):=1/(1/x+1/y)
When I use it with different parameter y and z this function give me incorrect expression par(y,z)=z/2 with symbolic optimization.
See the attached .sm file
(Thursday, September 22, 2016 5:07 PM)
(Saturday, April 26, 2014 12:49 PM)
One might call the reported behaviour an unexpected feature.
The problem is that identical symbols inside and outside the function definition refer to the same object.
(Thursday, April 17, 2014 6:35 PM)
Confirmed. Extremly nasty and dangerous bug. Problem also occures if the function body is wrapped with line()
Thank you for pointing this out.
Powered by BugNET 1.5.265.0