[FIX] better warning message when assigning values to sparse matrix.