lineax icon indicating copy to clipboard operation
lineax copied to clipboard

On a failed solve, check whether the input was NaN as well

Open patrick-kidger opened this issue 1 year ago • 0 comments

Sometimes we detect that the output was NaN, and fail the linear solve. Under these circumstances we should check whether the input had any NaNs as well -- indicating that the culprit was probably something upstream.

Inspired by https://github.com/patrick-kidger/diffrax/issues/368.

patrick-kidger avatar Feb 08 '24 12:02 patrick-kidger