On Mon, 8 Mar 2010, Andreas Noack Jensen wrote:
Maybe I was a bit unclear before. There is more code, but I only
included
the error and an explanation of the code.
I have been able to isolate the problem so I now can deliver a self
contained example:
? function void tmpfunc(matrix *tmp1)
> tmp1 = null
> end function
I think the bug is right there: the statement
tmp1 = null
should not be allowed for a pre-existing matrix, and should
produce an error. It's putting the variable name into a weird
state. Note that you can empty the matrix via
tmp1 = {}
inside the function and that will not cause any trouble.
This should be fixed shortly.
Allin Cottrell