Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added tolerance to test_cosine_similarity #193

Merged

Conversation

KrasserKai
Copy link
Contributor

Like described in issue #192 I have increased the tolerance for the test test_cosine_similarity a little bit, since otherwise it was impossible for me to pass due to numerical issues.

Copy link
Owner

@pkeilbach pkeilbach left a comment

Choose a reason for hiding this comment

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

This makes total sense and we also experienced such numerical differences due to floating point arithmentics in some other place already.

Thanks for taking care! Another bonus point @KrasserKai 🏅

closes #192

@pkeilbach pkeilbach added bug Something isn't working assignments Assignment submissions or anything else related to the assignments labels Dec 6, 2024
@pkeilbach pkeilbach merged commit e694ac9 into pkeilbach:main Dec 6, 2024
3 checks passed
@pkeilbach pkeilbach added the 🏅 1 bonus point label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assignments Assignment submissions or anything else related to the assignments bug Something isn't working 🏅 1 bonus point
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants