Numpy 1.13 compatability for matrix indexes

Issue #1 resolved
Former user created an issue

The following change to source file lib10x.py lines 453-454 resolves an issue with numpy compatability that results in a fatal error

TypeError: slice indices must be integers or None or have an __index__ method
  sub_X = sparse_mtx1.tocsr()[int(sub_x_start):int(sub_x_end),:]
  sub_Y = sparse_mtx2.tocsc()[:,int(sub_y_start):int(sub_y_end)]

Comments (3)

  1. Log in to comment