MAINT: remove warning due to indexing with float in CSR matrix code.