Stop calling sum_duplicates in eliminate_zeros
@@ -137,7 +137,6 @@ class csr_matrix(compressed._compressed_sparse_matrix):
def eliminate_zeros(self):
"""Removes zero entories in place."""
- self.sum_duplicates()
if cupy.cuda.runtime.runtimeGetVersion() >= 8000:
compress = cusparse.csr2csr_compress(self, 0)
else:
