Could you please try with `csr_matrix` and `coo_matrix` as well? If some of them fail we will have to fix that by improving the input validation logic.