Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Double precision ValueError not raised #118

@bb515

Description

@bb515

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions