pavlin-policar / openTSNE

Extensible, parallel implementations of t-SNE
https://opentsne.rtfd.io
BSD 3-Clause "New" or "Revised" License
1.44k stars 158 forks source link

Fix crash when dealing with super large affinity matrices #187

Closed pavlin-policar closed 3 years ago

pavlin-policar commented 3 years ago
Issue

When an affinity matrix is super large, the .indptr becomes np.int64. The code handles only np.int32.

Description of changes

Handle both cases.

Includes