Skip to content

multivariate_normal with positive semi-definite matrix and default Cholesky solver returns NaN #13293

Answered by jakevdp
marisgg asked this question in Ideas
Discussion options

You must be logged in to vote

Thanks for the report. Perhaps we should default to a method other than cholesky.

Regarding detecting problematic inputs at runtime: this is not necessarily easy in JAX, for the same reason that it's not easy to detect out-of-bound indices at runtime. I won't say more here because the background is pretty well covered in https://jax.readthedocs.io/en/latest/notebooks/Common_Gotchas_in_JAX.html#out-of-bounds-indexing

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@marisgg
Comment options

@jakevdp
Comment options

@jakevdp
Comment options

Answer selected by marisgg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants