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

Double precision ValueError not raised #118

Open
bb515 opened this issue Oct 25, 2021 · 0 comments
Open

Double precision ValueError not raised #118

bb515 opened this issue Oct 25, 2021 · 0 comments

Comments

@bb515
Copy link
Collaborator

bb515 commented Oct 25, 2021

A ValueError not raised if an opencl context is not provided and the context obtained from context = get_context() does not support double floating-point precision. Correct behaviour is to raise the ValueError.

https://github.com/alan-turing-institute/PeriPy/blob/master/peripy/integrators.py#:~:text=%23%20Get%20an%20OpenCL,floating-point%20precision%22)

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

No branches or pull requests

1 participant