Upcast matrix to a floating point format (if necessary)
scipy.sparse.bsr_matrix.asformat
scipy.sparse.bsr_matrix.astype