The following code gives an error message that is not always reproducable:
>$unitma = zeroes 3,3
>($tmp = $unitma->diagonal(0,1)) .=1
PDL barfed: Error in diagonalI:Diagonal: dims must be unique
To be honest, I can not say under which circumstances it occurs ( this
code is part of a bigger programm), but sometimes it's there.
Log in to post a comment.