TutteInstitute / evoc

Embedding Vector Oriented Clustering
BSD 2-Clause "Simplified" License
116 stars 5 forks source link

Numba warning on initialization #9

Closed zilch42 closed 3 months ago

zilch42 commented 3 months ago

I get the following warning when initializing an EVoC class object.

import evoc

clusterer = evoc.EVoC()
[c:\Users\Me\AppData\Local\miniconda3\envs\my-env\lib\site-packages\evoc\float_nndescent.py:287](file:///C:/Users/Me/AppData/Local/miniconda3/envs/my-env/lib/site-packages/evoc/float_nndescent.py:287): NumbaTypeSafetyWarning: unsafe cast from uint64 to int64. Precision may be lost.
  points = point_indices[i]

Is this anything to be concerned about? Numba version 0.60.0

lmcinnes commented 3 months ago

No, I don't think it is anything to worry about. I've tried tracing the warning and the lines/details it gives are no help at all. I think it maybin fact be a spurious warning.

On Mon, Jul 29, 2024 at 6:23 PM zilch42 @.***> wrote:

I get the following warning when initializing an EVoC class object.

import evoc

clusterer = evoc.EVoC()

c:\Users\Me\AppData\Local\miniconda3\envs\my-env\lib\site-packages\evoc\float_nndescent.py:287: NumbaTypeSafetyWarning: unsafe cast from uint64 to int64. Precision may be lost. points = point_indices[i]

Is this anything to be concerned about? Numba version 0.60.0

— Reply to this email directly, view it on GitHub https://github.com/TutteInstitute/evoc/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3IUBMKU2RGQ7MXUWZC4YDZO3THXAVCNFSM6AAAAABLVLAAKSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTMNRYG42DEMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>