Hello!
I've made a program in Calc that causes it to behave quite strangely. Its a function that interprets a column vector (matrix) stored in memory as coefficients of a polynomial and computes its value. [CODE IN THE ATTACHMENT]
When the function is drawn, it causes a weird error when Calc doesn't recognize a matrix as a matrix (doesn't show it in matrix monitor, matrix operations return nan). Solicited runs of the function seem OK.
A minor change in the program can be made to suppress the symptoms in the program (marked in the code), but it doesn't solve the problem.
After the function is drawn (even with the changes), this error occures when operating with matrices in Calc. For example: when I try to concatenate 2 numbers, nan is returned. When I recall a matrix from memory (the only way to create one in this state, I think), it shows OK at first, but if I store a number in the stack and then delete it, the matrix no longer works (as described above - it's not shown in matrix monitor and operations return nan).
The problem is removed when the memory is cleared. Until the next attempt to draw the function.
The function isn't a masterpiece of programming art, but I don't think it does anything that could "hurt" Calc. It also isn't a problem of my mobile phone only, because I produced the same effects in the demo applet.
petr fuka at gmail com (dots ommited)
"Source code" of the function
Fixed in 4.5