Skip to content

check-and-clip linear_rescale to [0,1]#524

Closed
mattlevine22 wants to merge 1 commit intopatrick-kidger:devfrom
mattlevine22:dev
Closed

check-and-clip linear_rescale to [0,1]#524
mattlevine22 wants to merge 1 commit intopatrick-kidger:devfrom
mattlevine22:dev

Conversation

@mattlevine22
Copy link

Protect against floating point errors that sometimes occur on GPUs (jax-ml/jax#24807). Previously observed that linear_rescale was sometimes returning 1.000001 for t==t1, and this was creating an error in the evaluate method of VirtualBrownianTree during SDE solves on GPU. Did not observe issue on CPUs.

@patrick-kidger
Copy link
Owner

Closing as superseded by #526! Thanks @mattlevine22 for putting this one together :)

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