Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tornikeo
Copy link
Contributor

@tornikeo tornikeo commented May 3, 2024

Similar to #596 , ModifiedCosine and other classes also use non-stable version of np.argsort. I've encountered this issue once more while implementing CudaModifiedCosine.

In this PR, I've changed sorting kind to mergesort for other similarity measures too, since this issue is likely to pop up once I've added those too.

@niekdejonge niekdejonge requested a review from florian-huber May 31, 2024 08:18
Copy link
Collaborator

@florian-huber florian-huber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tornikeo!
Looks good to me and will be merged.
(and sorry, took me a while...)

@florian-huber florian-huber merged commit 7fe374c into matchms:master Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants