Closed wenting-zhao closed 3 years ago
Hi @wenting-zhao. Thank you for reaching out. We have updated pyxclib. This should now work as expected. Anshul Mittal
the bug still exists, since np.issubdtype(X.dtype, np.float)) returns True for float64 but False for float32
@qixiang109 , Could you please share a code snippet to reproduce this issue? Also, make sure you have the updated version of pyxclib.
Since no new updates were given and module works at our end
Hi, thanks for making this useful tool! Looks great.
Here is a minimal working example of how I can produce the bug:
What I get is
Looking at it closely, it seems like the if condition here fails to capture the np.ndarray type, so the
indices
never got createdwhere X is created here in the setup_metric():
Any ideas how I may fix it? Thanks for any help you may be able provide.