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

Weird numba caching issue #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tycheyoung
Copy link

Due to the incorrect fraction part, the resulting dim can have an error (+1/-1 difference).

@bittremieux
Copy link
Owner

Could you elaborate a bit? When exactly does the issue occur and is it related to Numba or just a general issue?

@tycheyoung
Copy link
Author

If we set min_mz = 101.00, max_mz = 1500.00, bin_size=0.05, the dimension needs to be 27981. When we enable numba caching, the fraction part of bin_size changes (in my system, it changes to 0.05000000074505806), resulting in 27982 dimension.

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