I wrote these two sparseArrays functions:
using SparseArrays
using LinearAlgebra
using Kronecker
Sz = [[0.5, 0] [0, -0.5]]
C = kroneckersum(Sz, Sz)
D = sparse(C)
display(issparse(D))
display(D)
E = kronecker(Sz, Sz)
F = sparse(E)
display(issparse(F))
display(F)
While both say that the last matrix created is sparse (I know that wrapping sparse() around those functions should avoid me to allocate the intermediate matrix, but i wanted to be sure), the second is printed with display() as the usual sparse matrix, while the first no. So I was wondering if they missed the display() of kroneckersum or if there was an issue internally.