Numpy 1.13 compatability for matrix indexes
Issue #1
resolved
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)
-
repo owner -
repo owner - changed status to resolved
-
repo owner fix issue
#1→ <<cset 66b8d10f9c5a>>
- Log in to comment
Thanks for the fix. Fixed in devel branch. Will merge to master soon.