(fix): cache indptr
for backed sparse matrices
#1266
Merged
indptr
for backed sparse matrices
#1266