Detailed description |
Hi,
I would like to report that there seems to be an unexpected error when one takes negation after taking the Kronecker product of two diagonal matrices. Here is a minimal example:
> - Matrix::Diagonal(2, 3) %x% Matrix::Diagonal(2, 3)
4 x 4 sparse Matrix of class "dtTMatrix"
[1,] -9 . . .
[2,] . -9 . .
[3,] . . -9 .
[4,] . . . -9
> - (Matrix::Diagonal(2, 3) %x% Matrix::Diagonal(2, 3))
Error in (function (cl, name, valueClass) :
‘factors’ is not a slot in class “dtTMatrix”
The example is tested on:
1. Mac OS X, R 3.6.1, Matrix 1.2-18, and
2. Ubuntu 18.04.3 LTS, R 3.6.2, Matrix 1.2-18
Thanks.
|
|