Should be `m_ptr1`, not `X.indptr[m]`