Fix typo in SparseMatrix assert.