Skip to content

Commit

Permalink
Update plot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lmcinnes committed Aug 21, 2023
1 parent 521baa5 commit a483eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion umap/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def _nhood_search(umap_object, nhood_size):
return indices, dists


@numba.njit()
@numba.jit(nopython=False)

This comment has been minimized.

Copy link
@sklam

sklam Oct 17, 2023

Numba is in the middle of removing object-mode fallback and we are looking for code that are relying on it by setting nopython=False instead of forcing objectmode use with forceobj=True. If it's convenient, can you reply to numba/numba#9247 as to why this use of nopython=False is needed?

def _nhood_compare(indices_left, indices_right):
"""Compute Jaccard index of two neighborhoods"""
result = np.empty(indices_left.shape[0])
Expand Down

0 comments on commit a483eee

Please sign in to comment.