You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
B =spzeros(0, 0)
filename =tempname()
A =H5SparseMatrixCSC(filename, name, B)
@testsparse(A) ≈ B
I think the correct solution would be to allow last(rows) < first(rows) (and the same for cols), similar to how regular matrices work (e.g., sprand(0, 0)[0:-1, :] is valid, and returns a 0 x 0 matrix).
The text was updated successfully, but these errors were encountered:
The following code fails.
I think the correct solution would be to allow
last(rows) < first(rows)
(and the same forcols
), similar to how regular matrices work (e.g.,sprand(0, 0)[0:-1, :]
is valid, and returns a0 x 0
matrix).The text was updated successfully, but these errors were encountered: